VDB

CVE-2026-59870

CVE-2026-59870 PUBLISHED CVSS 7.5 HIGH

Reported by GitHub_M · Published July 8, 2026

js-yaml is a JavaScript YAML parser and dumper. Prior to 3.15.1, 4.3.1, and 5.2.1, YAML11_SCHEMA support for the !!omap tag in src/tag/sequence/omap.ts uses omapTag.addItem() to perform a linear duplicate-key scan on every insertion, causing O(n^2) CPU consumption when yaml.load() parses a crafted ordered-map document. In v3 and v4, !!omap is active and exploitable by default. v5 doesn't use !!omap by default, and the chances of activating it are very low.This issue is fixed in 3.15.1, 4.3.1, and 5.2.1.

Risk Scores

CVSS 3.1
7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected Products

VendorProductVersions
nodecajs-yaml>= 5.0.0, < 5.2.1, >= 3.0.0, < 3.15.1, >= 4.0.0, < 4.3.1
nodecajs-yaml>= 4.0.0, < 4.3.1, >= 3.0.0, < 3.15.1, >= 5.0.0, < 5.2.1
wolfirenovate0, 0, 0
npmjs-yaml5.0.0
chainguardrenovate0, 0, 0

Timeline

  • Jul 8, 2026 CVE Published
  • Jul 9, 2026 EPSS Score
  • Jul 9, 2026 Coalition ESS Score
  • Aug 7, 2026 EPSS Score
  • Aug 13, 2026 Security Advisory
  • Aug 24, 2026 EPSS Score
  • Aug 26, 2026 EPSS Score
  • Aug 28, 2026 EPSS Score
  • Aug 30, 2026 EPSS Score
  • Sep 3, 2026 EPSS Score
  • Sep 5, 2026 EPSS Score
  • Sep 6, 2026 EPSS Score
Open in Interactive Console →
$ Console Community · 50/day Open console ›