CVEvulnerability

CVE-2026-53550

5.3 MEDIUM Published 2026-06-22 Modified 2026-10-25 Official page ↗
Status
Analyzed
Published
2026-06-22
Last modified
2026-10-25
Assigner
[email protected]
CVSS 3.1 ([email protected])
5.3 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Weaknesses
CWE-407

Description

js-yaml is a JavaScript YAML parser and dumper. Prior to 4.2.0 and 3.15.0, a crafted YAML document can trigger algorithmic CPU exhaustion in js-yaml merge-key processing (<<) by repeating the same alias many times in a merge sequence. This causes quadratic parse-time behavior relative to input size and can block a Node.js worker/event loop for seconds with a relatively small payload (tens of KB), resulting in denial of service. The issue is in merge handling inside lib/loader.js. This vulnerability is fixed in 4.2.0 and 3.15.0.

Affected configurations

• nodeca js-yaml (< 3.15.0) • nodeca js-yaml (>= 4.0.0 < 4.2.0)

Related

Weakness · CWE (1)

  • CWE-407 Inefficient Algorithmic Complexity weakness

References