Out-of-Bounds 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
2.53% (85th 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-20153843
  • published26 Sept 2026
  • disclosed28 Dec 2018

Introduced: 28 Dec 2018

CVE-2018-20573  (opens in a new tab)
CWE-119  (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.

The Scanner::EnsureTokensInQueue function in yaml-cpp (aka LibYaml-C++) 0.6.2 allows remote attackers to cause a denial of service (stack consumption and application crash) via a crafted YAML file.