Skip to content
Fencer Vulns
medium 5.5

CVE-2017-5950 json

The SingleDocParser::HandleNode function in yaml-cpp (aka LibYaml-C++) 0.5.3 allows remote attackers to cause a denial of service (stack co…

published 2017-04-03 9 y ago modified 2026-07-18 3 mo ago also EUVD-2017-15020 , JLSEC-2026-23

cvss
5.5
version 3.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
2.0%
EPSS 2.0% chance of exploitation in 30 days, percentile 81%
public exploits
0
none known

Summary

The SingleDocParser::HandleNode function in yaml-cpp (aka LibYaml-C++) 0.5.3 allows remote attackers to cause a denial of service (stack consumption and application crash) via a crafted YAML file.

Patch / fix

  • julia yaml_cpp_jll 0.6.3+0
  • yaml-cpp Debian 14, Debian 13, Debian 12 0.6.3-1

debian advisories DEBIAN-CVE-2017-5950

  • yaml-cpp SLED 12 SP3, SLED 12 SP2, SLE Workstation Extension 12 SP3 +1 more 0.5.3-3.3.2

suse advisories SUSE-SU-2018:0631-1

  • yaml-cpp openSUSE Tumbleweed 0.6.3-1.8

opensuse advisories openSUSE-SU-2024:11529-1

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2017-5950 updated cvss 7.5

yaml-cpp: Stack overflow in HandleNode()

  • Red Hat Enterprise Linux OpenStack Platform 7 (Kilo) yaml-cpp Red Hat OpenStack Platform 8 (Liberty) yaml-cpp Red Hat OpenStack Platform 9 (Mitaka) yaml-cpp Red Hat OpenStack Platform 10 (Newton) yaml-cpp Red Hat OpenStack Platform 11 (Ocata) yaml-cpp Red Hat Satellite 6 yaml-cpp
    +1 more products
    Red Hat Software Collections rh-mongodb26-yaml-cpp, rh-mongodb32-yaml-cpp, rh-mongodb30upg-yaml-cpp
    affected: no fix planned “Will not fix”

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

2.03% chance of exploitation in the next 30 days, higher than 81% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
NVD 3.0 5.5 CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
NVD 2.0 4.3 AV:N/AC:M/Au:N/C:N/I:N/A:P
OSV 3.0 5.5 CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Affected packages

ecosystem package affected fixed in
julia yaml_cpp_jll
<0.6.3+0
0.6.3+0

Classification

Weakness
  • CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.