CVE-2026-59868

EUVD-2026-42302
js-yaml is a JavaScript YAML parser and dumper. From 5.0.0 before 5.2.0, when merge keys are enabled, js-yaml can spend quadratic CPU time parsing a document whose size grows only linearly when a chain of mappings uses merge keys where each mapping merges the previous one. This issue is fixed in version 5.2.0.
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.0
𝑥
= 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