# CVE-2026-120455: rapidyaml through 0.16.0 Out-of-Bounds Write via ParseEngine::_add_annotation()

- Severity: Medium 6.9 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.23%, higher than 14% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-11-02T14:29:12.335Z
- Modified: 2026-11-09T14:17:06.760Z
- Weaknesses: CWE-787
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- biojppm rapidyaml: up to 0.16.0

## Every score

- VulnCheck: CVSS:4.0 6.9 Medium `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`
- VulnCheck: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H`

## References

- <https://hackmd.io/@haindpwn/cve-2026-120455-rapidyaml-parser-annotation-oob-write#Detailed-attack-steps> (exploit)
- <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)
- <https://github.com/biojppm/rapidyaml/releases/tag/v0.16.0> (release-notes)
- <https://hackmd.io/@haindpwn/rapidyaml-parser-annotation-oob-write> (technical-description)
- <https://www.vulncheck.com/advisories/rapidyaml-through-0.16.0-out-of-bounds-write-via-parseengine-add-annotation> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-120455](https://www.cve.org/CVERecord?id=CVE-2026-120455), CVE Terms of Use, modified 2026-11-09
- NVD: [CVE-2026-120455](https://nvd.nist.gov/vuln/detail/CVE-2026-120455), Public domain, modified 2026-11-09

---

Page: https://cve.day/CVE-2026-120455 · Whole record: https://cve.day/CVE-2026-120455.json · Rebuilt by cve.day 2026-11-25T22:59:48.189Z
