Buffer Overflow Affecting yaml-cpp package, versions [0,]


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.45% (63rd 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 IDSNYK-CONAN-YAMLCPP-10078529
  • published8 May 2025
  • disclosed15 Jan 2019
  • creditUnknown

Introduced: 15 Jan 2019

CVE-2019-6292  (opens in a new tab)
CWE-674  (opens in a new tab)

How to fix?

There is no fixed version for yaml-cpp.

Overview

Affected versions of this package are vulnerable to Buffer Overflow. An issue was discovered in singledocparser.cpp in yaml-cpp (aka LibYaml-C++) 0.6.2. Stack Exhaustion occurs in YAML::SingleDocParser, and there is a stack consumption problem caused by recursive stack frames: HandleCompactMap, HandleMap, HandleFlowSequence, HandleSequence, HandleNode. Remote attackers could leverage this vulnerability to cause a denial-of-service via a cpp file.

References

CVSS Base Scores

version 3.1