CVE-2017-5950: The SingleDocParser::HandleNode function in yaml-cpp (aka LibYaml-C++) 0.5.3 allows remote attackers to cause
CVE-2017-5950 is a medium-severity flaw (CVSS 5.5) affecting yaml-cpp. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- No elevated risk signals yet
No fix is published yet: follow the downgrade or mitigation steps.
Risk facts
| CVSS score | 5.5 (Medium) |
| Attack vector | Local |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | Required |
| EPSS exploit chance | 2.0% (top 19%) |
| CISA exploited list | No |
| Weakness | CWE-119 |
| Published | 2017-04-03 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2017-5950?
yaml-cpp: downgrade or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2017-5950 being exploited?
CVE-2017-5950 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2017-5950 affect?
CVE-2017-5950 affects yaml-cpp. Severity is medium (CVSS 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.
How urgent is CVE-2017-5950?
Priority 40/100. No elevated risk signals yet.
Related CVEs
- CVE-2019-6292 MEDIUM 6.5 DOWNGRADE An issue was discovered in singledocparser.cpp in yaml-cpp (aka LibYaml-C++) 0.6.2
- CVE-2019-6285 MEDIUM 6.5 DOWNGRADE The SingleDocParser::HandleFlowSequence function in yaml-cpp (aka LibYaml-C++) 0.6.2 allows remote attackers t
- CVE-2018-20574 MEDIUM 6.5 DOWNGRADE The SingleDocParser::HandleFlowMap function in yaml-cpp (aka LibYaml-C++) 0.6.2 allows remote attackers to cau
- CVE-2018-20573 MEDIUM 6.5 DOWNGRADE The Scanner::EnsureTokensInQueue function in yaml-cpp (aka LibYaml-C++) 0.6.2 allows remote attackers to cause
- CVE-2017-11692 HIGH 7.5 UPGRADE The function "Token& Scanner::peek" in scanner.cpp in yaml-cpp 0.5.3 and earlier allows remote attackers to ca