Uncontrolled Recursion Affecting yaml-cpp package, versions <0.6.3-1


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
1.88% (79th 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-ECHOLATEST-YAMLCPP-20153841
  • published26 Sept 2026
  • disclosed15 Jan 2019

Introduced: 15 Jan 2019

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

How to fix?

Upgrade Echo:latest yaml-cpp to version 0.6.3-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream yaml-cpp package and not the yaml-cpp package as distributed by Echo. See How to fix? for Echo:latest relevant fixed versions and status.

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.