CVE-2026-120455
published medium CVSS 4.0 · 6.9rapidyaml through 0.16.0 Out-of-Bounds Write via ParseEngine::_add_annotation()
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| biojppm | — | rapidyaml0 through 0.16.0 · Other versions: unaffected | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.9 / 10
- Severity
- medium
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 6.1 | medium | VulnCheck · cna | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| biojppm | rapidyaml | 0 through 0.16.0 (affected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-787 Out-of-bounds Write
References
8- https://github.com/biojppm/rapidyaml/blob/v0.16.0/src/c4/yml/parse_engine.def.hpp#L4307-L4351
- https://github.com/biojppm/rapidyaml/blob/v0.16.0/src/c4/yml/parse_engine.def.hpp#L5524-L5535
- https://github.com/biojppm/rapidyaml/blob/v0.16.0/src/c4/yml/parse_engine.hpp#L249-L260
- https://github.com/biojppm/rapidyaml/issues/680
- rapidyaml v0.16.0 Release Notes https://github.com/biojppm/rapidyaml/releases/tag/v0.16.0
- https://hackmd.io/@haindpwn/cve-2026-120455-rapidyaml-parser-annotation-oob-write#Detailed-attack-steps
- https://hackmd.io/@haindpwn/rapidyaml-parser-annotation-oob-write
- VulnCheck Advisory: rapidyaml through 0.16.0 Out-of-Bounds Write via ParseEngine::_add_annotation() https://www.vulncheck.com/advisories/rapidyaml-through-0.16.0-out-of-bounds-write-via-parseengine-add-annotation
Provider assertions
2VulnCheck · cna
rapidyaml through 0.16.0 Out-of-Bounds Write via ParseEngine::_add_annotation()
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 76ad689359a5b00bbfcac324f00a29904e1b8de8829d25a4829c9e370c753a73
- Ingested
- 09 Nov 2026, 14:08:53 UTC
- Source record
- Official CVE record