CVE Catalog

CVE-2026-59869

HighCVSS 7.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.35%

27th percentile - higher than 27% of all known CVEs

Summary

A vulnerability in the js-yaml library (JavaScript YAML parser and dumper) causes quadratic CPU time growth when processing YAML documents containing a chain of mappings with merge keys. The issue affects versions from 3.0.0 to 3.14.0 and from 4.0.0 to 4.2.0.

Risk Assessment

An attacker can send a specially crafted YAML document that, with linear size growth, causes quadratic processing time increase, leading to server overload (DoS).

Recommendation

Immediately update the js-yaml library to version 3.15.0 or 4.3.0, depending on the major version in use.

Other vulnerabilities in js-yaml

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS