CVE-2026-120455
Dashboard / Vulnerabilities / CVE-2026-120455
CVE-2026-120455
Summary: rapidyaml through 0.16.0 Out-of-Bounds Write via ParseEngine::_add_annotation()
Details: rapidyaml through 0.16.0 contains an out-of-bounds write vulnerability in ParseEngine::_add_annotation() that allows attackers to corrupt memory by supplying YAML with excess anchors or tags. Attackers can submit YAML with consecutive anchors or tags to overflow the fixed two-element annotation array in release builds, corrupting stack memory and crashing the process.
References: https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/120xxx/CVE-2026-120455.json, https://github.com/biojppm/rapidyaml/releases/tag/v0.16.0, https://nvd.nist.gov/vuln/detail/CVE-2026-120455, https://www.vulncheck.com/advisories/rapidyaml-through-0.16.0-out-of-bounds-write-via-parseengine-add-annotation, https://github.com/biojppm/rapidyaml/issues/680, https://github.com/biojppm/rapidyaml, https://github.com/biojppm/rapidyaml/blob/v0.16.0/src/c4/yml/parse_engine.def.hpp#L4307-L4351, https://github.com/biojppm/rapidyaml/blob/v0.16.0/src/c4/yml/parse_engine.def.hpp#L5524-L5535, https://github.com/biojppm/rapidyaml/blob/v0.16.0/src/c4/yml/parse_engine.hpp#L249-L260, https://hackmd.io/@haindpwn/rapidyaml-parser-annotation-oob-write
Affected packages
Package
Name:
Purl:
