VDB

CVE-2026-59870

CVE-2026-59870 PUBLISHED CVSS 5.3 MEDIUM

Reported by GitHub_M · Published July 8, 2026

js-yaml is a JavaScript YAML parser and dumper. From 5.0.0 before 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. This issue is fixed in version 5.2.1.

Risk Scores

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

Affected Products

VendorProductVersions
nodecajs-yaml>= 5.0.0, < 5.2.1
nodecajs-yaml>= 5.0.0, < 5.2.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
  • Jul 20, 2026 CVE Updated
  • Aug 7, 2026 EPSS Score
  • Aug 13, 2026 Security Advisory
  • Aug 24, 2026 EPSS Score
  • Aug 26, 2026 EPSS Score
Open in Interactive Console →
$ Console Community · 100/wk Open console ›