ADVISORIES

Vulnerability

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.

14 advisories report this vulnerability, across 4 ecosystems.

Advisories

  • CGA-2rjr-qp6x-xhjh
    CVE-2026-73643 ChainguardWolfi Updated 5 November 2026
  • CGA-4mr2-m54r-h8m3
    CVE-2026-73643 Chainguard Updated 5 November 2026
  • CGA-555x-2whq-wp46
    CVE-2026-73643 Chainguard Updated 5 November 2026
  • CGA-6mx4-c8q5-3287
    CVE-2026-73643 Chainguard Updated 5 November 2026
  • CGA-7926-m2xp-5fh3
    CVE-2026-73643 ChainguardWolfi Updated 5 November 2026
  • CGA-8765-wfqc-xw76
    CVE-2026-73643 Chainguard Updated 5 November 2026
  • CGA-92h9-m3qx-7vrc
    CVE-2026-73643 ChainguardWolfi Updated 5 November 2026
  • CGA-fwch-pxwh-cw8r
    CVE-2026-73643 ChainguardWolfi Updated 5 November 2026
  • CGA-hhp3-3868-26p3
    CVE-2026-73643 ChainguardWolfi Updated 5 November 2026
  • CGA-q2v8-x2jj-hjmv
    CVE-2026-73643 ChainguardWolfi Updated 5 November 2026
  • CGA-wvm3-3wr3-xwwm
    CVE-2026-73643 ChainguardWolfi Updated 5 November 2026
  • CGA-x9pm-xfjg-vcv9
    CVE-2026-73643 ChainguardWolfi Updated 5 November 2026
  • GHSA-pm4m-ph32-ghv5

    js-yaml: Exponential parsing time in flow collections leads to denial of service

    High CVE-2026-73643 npm Updated 10 September 2026
  • UBUNTU-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,…

    CVE-2026-73643 Ubuntu Updated 24 November 2026

References