CVE-2026-59868

HIGH CVSS 3.1: 7.5 EPSS 0.64%
Updated Jul 13, 2026
Nodeca
Parameter Value
CVSS 7.5 (HIGH)
Affected Versions 5.0.0 — 5.2.0
Fixed In 5.2.0
Type CWE-770 (Allocation Without Limits), CWE-407
Vendor Nodeca
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
None
No data leak
Integrity
None
No data modification
Availability
High
Complete denial of service

CVSS Vector v3.1

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Nodeca Js-Yaml
cpe:2.3:a:nodeca:js-yaml:*:*:*:*:*:node.js:*:*
5.0.0 5.2.0