{"id":"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.","modified":"2026-11-11T02:30:29.126142047Z","published":"2026-11-02T14:29:12.335Z","database_specific":{"cna_assigner":"VulnCheck","cwe_ids":["CWE-787"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/120xxx/CVE-2026-120455.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/120xxx/CVE-2026-120455.json"},{"type":"ADVISORY","url":"https://github.com/biojppm/rapidyaml/releases/tag/v0.16.0"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-120455"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/rapidyaml-through-0.16.0-out-of-bounds-write-via-parseengine-add-annotation"},{"type":"REPORT","url":"https://github.com/biojppm/rapidyaml/issues/680"},{"type":"PACKAGE","url":"https://github.com/biojppm/rapidyaml"},{"type":"ARTICLE","url":"https://github.com/biojppm/rapidyaml/blob/v0.16.0/src/c4/yml/parse_engine.def.hpp#L4307-L4351"},{"type":"ARTICLE","url":"https://github.com/biojppm/rapidyaml/blob/v0.16.0/src/c4/yml/parse_engine.def.hpp#L5524-L5535"},{"type":"ARTICLE","url":"https://github.com/biojppm/rapidyaml/blob/v0.16.0/src/c4/yml/parse_engine.hpp#L249-L260"},{"type":"ARTICLE","url":"https://hackmd.io/@haindpwn/rapidyaml-parser-annotation-oob-write"},{"type":"EVIDENCE","url":"https://hackmd.io/@haindpwn/cve-2026-120455-rapidyaml-parser-annotation-oob-write#Detailed-attack-steps"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/biojppm/rapidyaml","events":[{"introduced":"0"},{"fixed":"f8ac8dd50f4f7916579d55a05ebf9c6488e52670"}],"database_specific":{"extracted_events":[{"strategy":"StandardRange","range":[{"introduced":"0"},{"last_affected":"0.16.0"}],"source":"AFFECTED_FIELD"},{"original_tag":"v0.16.0","range":[{"fixed":"f8ac8dd50f4f7916579d55a05ebf9c6488e52670"}],"source":"REFERENCES_TAG"}]}}],"versions":["v0.15.2","v0.15.1","v0.15.0","v0.14.0","v0.13.0","v0.12.1","v0.12.0","v0.11.1","v0.11.0","v0.10.0","v0.9.0","v0.8.0","v0.7.2","v0.7.1","v0.7.0","v0.6.0","v0.5.0","v0.4.1","v0.4.0","v0.3.0","v0.2.3","v0.2.2","v0.2.1","v0.2.0","v0.1.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-120455.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N"}]}