Out-of-Bounds Affecting yaml-cpp package, versions [,0.7.0)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.78% (74th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Out-of-Bounds vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-CONAN-YAMLCPP-10078528
  • published8 May 2025
  • disclosed3 Apr 2017
  • creditUnknown

Introduced: 3 Apr 2017

CVE-2017-5950  (opens in a new tab)
CWE-119  (opens in a new tab)

How to fix?

Upgrade yaml-cpp to version 0.7.0 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-Bounds. 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.

References

CVSS Base Scores

version 3.1