CVE-2026-59868

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:nodeca:js-yaml:*:*:*:*:*:node.js:*:*

History

25 Oct 2026, 20:10

Type Values Removed Values Added
Summary
  • (es) js-yaml es un analizador y volcador YAML de JavaScript. Desde la versión 5.0.0 antes de la 5.2.0, cuando las claves de fusión están habilitadas, js-yaml puede consumir tiempo de CPU cuadrático al analizar un documento cuyo tamaño crece solo linealmente cuando una cadena de mapeos utiliza claves de fusión donde cada mapeo fusiona el anterior. Este problema está solucionado en la versión 5.2.0.

Information

Published : 2026-07-08 16:16

Updated : 2026-10-25 20:10


NVD link : CVE-2026-59868

Mitre link : CVE-2026-59868

CVE.ORG link : CVE-2026-59868


JSON object : View

Products Affected

nodeca

  • js-yaml
CWE
CWE-407

Inefficient Algorithmic Complexity

CWE-770

Allocation of Resources Without Limits or Throttling