CVE-2026-120455
rapidyaml through 0.16.0 Out-of-Bounds Write via ParseEngine::_add_annotation()
CVSS Score
6.1
EPSS Score
0.0%
EPSS Percentile
0th
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.
| CWE | CWE-787 |
| Vendor | biojppm |
| Product | rapidyaml |
| Published | Nov 2, 2026 |
Stay Ahead of the Next One
Get instant alerts for biojppm rapidyaml
Be the first to know when new medium vulnerabilities affecting biojppm rapidyaml are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
High
Affected Versions
biojppm / rapidyaml
0 โค 0.16.0
References
github.com: https://github.com/biojppm/rapidyaml/issues/680 github.com: https://github.com/biojppm/rapidyaml/blob/v0.16.0/src/c4/yml/parse_engine.def.hpp#L4307-L4351 github.com: https://github.com/biojppm/rapidyaml/blob/v0.16.0/src/c4/yml/parse_engine.def.hpp#L5524-L5535 github.com: https://github.com/biojppm/rapidyaml/blob/v0.16.0/src/c4/yml/parse_engine.hpp#L249-L260 github.com: https://github.com/biojppm/rapidyaml/releases/tag/v0.16.0 hackmd.io: https://hackmd.io/@haindpwn/rapidyaml-parser-annotation-oob-write vulncheck.com: https://www.vulncheck.com/advisories/rapidyaml-through-0.16.0-out-of-bounds-write-via-parseengine-add-annotation
Credits
HaiND from the Post and Telecommunication Institute of Technology