CVE-2026-59870

EUVD-2026-42300
js-yaml is a JavaScript YAML parser and dumper. From 5.0.0 before 5.2.1, YAML11_SCHEMA support for the !!omap tag in src/tag/sequence/omap.ts uses omapTag.addItem() to perform a linear duplicate-key scan on every insertion, causing O(n^2) CPU consumption when yaml.load() parses a crafted ordered-map document. This issue is fixed in version 5.2.1.
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTPrimary
5.3 MEDIUM
NETWORK
LOW
NONE
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Base Score
CVSS 3.x
EPSS Score
Percentile: 34.38%
Affected Products (NVD)
VendorProductVersion
nodecajs-yaml
5.0.0 ≤
𝑥
< 5.2.1
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
node-js-yaml
bookworm
4.1.0+dfsg+~4.0.5-7
fixed
bullseye
3.14.1+dfsg+~3.12.6-2
fixed
forky
4.2.0+~4.0.9-1
fixed
sid
4.2.0+~4.0.9-1
fixed
trixie
4.1.0+dfsg+~4.0.5-7
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
node-js-yaml
bionic
needs-triage
focal
needs-triage
jammy
needs-triage
noble
needs-triage
questing
ignored
resolute
needs-triage