HIGHVulnerability

CVE-2026-73643

js-yaml is a JavaScript YAML parser and dumper. From 5.0.0 until 5.2.2, parsing a small YAML document can take exponential time when an application calls load() or loadAll() on untrusted input. In src/parser/parser.ts, readFlowCollection uses restoreState and calls parseNode a second time when a flow-sequence entry is recognized as a key: value pair. If the key is a nested flow sequence of the same shape, every level is parsed twice, causing O(2^n) work and allowing an input under 200 bytes to keep one CPU busy for minutes, block the Node.js event loop, and stall the process. No anchors, aliases, merges, tags, or nondefault options are required. This issue is fixed in version 5.2.2.

Properties

severity
HIGH
score
7.5
cve_id
CVE-2026-73643
signal_observed_at
2026-09-18T21:50:18+00:00
vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
published_at
2026-08-13T18:18:19.947
last_modified
2026-09-18T20:09:01.757

Related Entities (2)

HAS_WEAKNESS (1)

[Weakness]Inefficient Algorithmic Complexity

DESCRIBED_BY (1)

[Source]NVD

Explore deeper with Ninja Signal's threat intelligence graph

CVE-2026-73643 — Ninja Signal Threat Intelligence | Ninja Signal