CVE-2026-59869

js-yaml: YAML merge-key chains can force quadratic CPU consumption

HIGH
7.5
CVSS Score
Published: July 8, 2026 at 03:15 PM UTC
Updated: October 25, 2026 at 08:10 PM UTC
1 product affected across 1 vendorJs Yaml

Using js-yaml by nodeca?

Get instant alerts when new vulnerabilities affect js-yaml - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.5
Exploit prediction
EPSS 0.6%
SSVC
PoC

Description

js-yaml is a JavaScript YAML parser and dumper. From 3.0.0 before 3.15.0 and from 4.0.0 before 4.3.0, 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 versions 3.15.0 and 4.3.0.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

3.0.0 ≤ v < 3.15.04.0.0 ≤ v < 4.3.0
Affected range stops below 3.15.0, so it looks safe — our inference, not a vendor statement
Affected range stops below 4.3.0, so it looks safe — our inference, not a vendor statement

References (5)

SSVC — Action Prioritization

SSVCPoCAutomatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

7.5HIGHGitHub_M
Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-407

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card