Vulnerability Description
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.
CVSS Score
MEDIUM
Related Weaknesses (CWE)
References
- https://github.com/biojppm/rapidyaml/blob/v0.16.0/src/c4/yml/parse_engine.def.hp
- https://github.com/biojppm/rapidyaml/blob/v0.16.0/src/c4/yml/parse_engine.def.hp
- https://github.com/biojppm/rapidyaml/blob/v0.16.0/src/c4/yml/parse_engine.hpp#L2
- https://github.com/biojppm/rapidyaml/issues/680
- https://github.com/biojppm/rapidyaml/releases/tag/v0.16.0
- https://hackmd.io/@haindpwn/rapidyaml-parser-annotation-oob-write
- https://www.vulncheck.com/advisories/rapidyaml-through-0.16.0-out-of-bounds-writ
- https://hackmd.io/@haindpwn/cve-2026-120455-rapidyaml-parser-annotation-oob-writ
FAQ
What is CVE-2026-120455?
CVE-2026-120455 is a vulnerability with a CVSS score of 6.1 (MEDIUM). 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. Attacker...
How severe is CVE-2026-120455?
CVE-2026-120455 has been rated MEDIUM with a CVSS base score of 6.1/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-120455?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.