CVE-2017-5950
The SingleDocParser::HandleNode function in yaml-cpp (aka LibYaml-C++) 0.5.3 allows remote...
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.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
5.5
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.
- Record
CVE-2017-5950- CVSS 3.0
- 5.5 Medium
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - CVSS 2.0
- 4.3 Medium
AV:N/AC:M/Au:N/C:N/I:N/A:P - Weakness
- CWE-119
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2017-5950- Updated
- 2026-11-02
EUVDEUVD-2017-15020 No score
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.
- Record
EUVD-2017-15020- Updated
- 2026-11-02
GitHub AdvisoriesGHSA-wm2p-97xq-7h48
5.5
The SingleDocParser::HandleNode function in yaml-cpp (aka LibYaml-C++) 0.5.3 allows remote...
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.
- Record
GHSA-wm2p-97xq-7h48- CVSS 3.0
- 5.5 Medium
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Weakness
- CWE-119
- Updated
- 2026-11-02
OSV
5.5
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.
- Record
CVE-2017-5950- CVSS 3.0
- 5.5 Medium
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2017-5950
5.5
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.
- Record
DEBIAN-CVE-2017-5950- CVSS 3.0
- 5.5 Medium
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
Show 5 moreShow less
OSVJLSEC-2026-23
5.5
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.
- Record
JLSEC-2026-23- CVSS 3.0
- 5.5 Medium
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - CVSS 2.0
- 4.3 Medium
AV:N/AC:M/Au:N/C:N/I:N/A:P - Updated
- 2026-11-02
OSVUBUNTU-CVE-2017-5950
5.5
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.
- Record
UBUNTU-CVE-2017-5950- CVSS 3.0
- 5.5 Medium
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVMGASA-2018-0471 No score
Updated yaml-cpp packages fix security vulnerability
The SingleDocParser::HandleNode function in yaml-cpp (aka LibYaml-C++) 0.5.1 allows remote attackers to cause a denial of service (stack consumption and application crash) via a crafted YAML file. (CVE-2017-5950)
- Record
MGASA-2018-0471- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:11529-1 No score
libyaml-cpp0_6-0.6.3-1.8 on GA media
These are all security issues fixed in the libyaml-cpp0_6-0.6.3-1.8 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:11529-1- Updated
- 2026-11-02
OSVSUSE-SU-2018:0631-1 No score
Security update for yaml-cpp
This update for yaml-cpp fixes the following issues:
- CVE-2017-5950: Stack overflow in SingleDocParser::HandleNode() function (bsc#1032144)
- Record
SUSE-SU-2018:0631-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
yaml-cppDebian:12 |
before 0.6.3-1 | 0.6.3-1 |
yaml-cppDebian:13 |
before 0.6.3-1 | 0.6.3-1 |
yaml-cppDebian:14 |
before 0.6.3-1 | 0.6.3-1 |
yaml_cpp_jllJulia |
before 0.6.3+0 | 0.6.3+0 |
yaml-cppMageia:6 |
before 0.5.1-6.1.mga6 | 0.5.1-6.1.mga6 |
yaml-cppSUSE:Linux Enterprise Desktop 12 SP2 |
before 0.5.3-3.3.2 | 0.5.3-3.3.2 |
yaml-cppSUSE:Linux Enterprise Desktop 12 SP3 |
before 0.5.3-3.3.2 | 0.5.3-3.3.2 |
yaml-cppSUSE:Linux Enterprise Workstation Extension 12 SP2 |
before 0.5.3-3.3.2 | 0.5.3-3.3.2 |
yaml-cppSUSE:Linux Enterprise Workstation Extension 12 SP3 |
before 0.5.3-3.3.2 | 0.5.3-3.3.2 |
yaml-cppUbuntu:14.04:LTS |
All versions, plus listed versions 0.3.0-10.5.1-1 |
None known |
Show 6 moreShow less
| Package | Affected | Fixed |
|---|---|---|
yaml-cppUbuntu:16.04:LTS |
All versions, plus listed versions 0.5.2-20.5.2-30.5.2-4ubuntu1~16.04.4 |
None known |
yaml-cpp0.3Ubuntu:16.04:LTS |
All versions, plus listed versions 0.3.0-1.2 |
None known |
yaml-cppUbuntu:18.04:LTS |
All versions, plus listed versions 0.5.2-4ubuntu1 |
None known |
yaml-cpp0.3Ubuntu:18.04:LTS |
All versions, plus listed versions 0.3.0-1.2 |
None known |
yaml-cppUbuntu:20.04:LTS |
All versions, plus listed versions 0.6.2-4fakesync10.6.2-4ubuntu1 |
None known |
yaml-cppopenSUSE:Tumbleweed |
before 0.6.3-1.8 | 0.6.3-1.8 |
History
| Recorded | Changed | Sources |
|---|---|---|
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2017-5950 is a medium vulnerability (CVSS 5.5) in Yaml-cpp Project Yaml-cpp, published April 3, 2017. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 2.03%, the 81st percentile. Fixed in yaml-cpp 0.6.3-1.
References
securityfocus.com/bid/97307
github.com/jbeder/yaml-cpp/issues/459
seclists.org/fulldisclosure/2024/Nov/0
nvd.nist.gov/vuln/detail/CVE-2017-5950
github.com/advisories/GHSA-wm2p-97xq-7h48
security-tracker.debian.org/tracker/CVE-2017-5950
Show 9 moreShow less
advisories.mageia.org/MGASA-2018-0471.html
bugs.mageia.org/show_bug.cgi?id=23695
bugzilla.novell.com/show_bug.cgi?id=CVE-2017-5950
github.com/jbeder/yaml-cpp/pull/489
suse.com/support/update/announcement/2018/suse-su-20180631-1
bugzilla.suse.com/1032144
suse.com/security/cve/CVE-2017-5950
ubuntu.com/security/CVE-2017-5950
cve.org/CVERecord?id=CVE-2017-5950