{"id":"UBUNTU-CVE-2026-120455","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-04T03:30:39.677400165Z","published":"2026-11-03T00:00:00Z","upstream":["CVE-2026-120455"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-120455"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-120455"},{"type":"REPORT","url":"https://github.com/biojppm/rapidyaml/blob/v0.16.0/src/c4/yml/parse_engine.def.hpp#L4307-L4351"},{"type":"REPORT","url":"https://github.com/biojppm/rapidyaml/blob/v0.16.0/src/c4/yml/parse_engine.def.hpp#L5524-L5535"},{"type":"REPORT","url":"https://github.com/biojppm/rapidyaml/blob/v0.16.0/src/c4/yml/parse_engine.hpp#L249-L260"},{"type":"REPORT","url":"https://github.com/biojppm/rapidyaml/issues/680"},{"type":"REPORT","url":"https://github.com/biojppm/rapidyaml/releases/tag/v0.16.0"},{"type":"REPORT","url":"https://hackmd.io/@haindpwn/rapidyaml-parser-annotation-oob-write"},{"type":"REPORT","url":"https://www.vulncheck.com/advisories/rapidyaml-through-0.16.0-out-of-bounds-write-via-parseengine-add-annotation"}],"affected":[{"package":{"name":"rapidyaml","ecosystem":"Ubuntu:26.10","purl":"pkg:deb/ubuntu/rapidyaml?arch=source&distro=stonking"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.10.0+ds-1build1","0.11.1+ds-1","0.16.0+ds-2"],"ecosystem_specific":{"binaries":[{"binary_name":"libryml0.16","binary_version":"0.16.0+ds-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-120455.json"}},{"package":{"name":"rapidyaml","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/rapidyaml?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.9.0+ds-3","0.10.0+ds-1","0.10.0+ds-1build1"],"ecosystem_specific":{"binaries":[{"binary_name":"libryml0","binary_version":"0.10.0+ds-1build1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-120455.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H"},{"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"},{"type":"Ubuntu","score":"medium"}]}