Vulnerability · Published Nov 2, 2026 · Assigned by VulnCheck
CVE-2026-120455rapidyaml through 0.16.0 Out-of-Bounds Write via ParseEngine::_add_annotation()
Medium 6.1
In plain English
A medium-severity out-of-bounds write in rapidyaml from biojppm. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.1% (higher than 2% of all known vulnerabilities).
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu:26.04:LTS | rapidyaml | no fix listed | UBUNTU-CVE-2026-120455 |
| Ubuntu:26.10 | rapidyaml | no fix listed | UBUNTU-CVE-2026-120455 |
Affected products (as reported)
Weakness: CWE-787 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H
References
- https://github.com/biojppm/rapidyaml/issues/680 issue-tracking
- https://github.com/biojppm/rapidyaml/blob/v0.16.0/src/c4/yml/parse_engine.def.hpp#L4307-L4351 technical-description
- https://github.com/biojppm/rapidyaml/blob/v0.16.0/src/c4/yml/parse_engine.def.hpp#L5524-L5535 technical-description
- https://github.com/biojppm/rapidyaml/blob/v0.16.0/src/c4/yml/parse_engine.hpp#L249-L260 technical-description
- rapidyaml v0.16.0 Release Notes release-notes
- https://hackmd.io/@haindpwn/rapidyaml-parser-annotation-oob-write technical-description
- VulnCheck Advisory: rapidyaml through 0.16.0 Out-of-Bounds Write via ParseEngine::_add_annotation() third-party-advisory