VULNERABILITY INTELLIGENCE
CVE-2026-59870
CVSS score7.5 HIGH
EPSS probability0.74%
CISA KEVNot currently listed
Published2026-07-08
Last modified2026-10-25
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Description
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.
Weakness classification
- security-advisories@github.com: CWE-407
- nvd@nist.gov: CWE-770
Primary references
- security-advisories@github.com
- security-advisories@github.com — Patch
- security-advisories@github.com
- security-advisories@github.com
- security-advisories@github.com
- security-advisories@github.com — Release Notes
- security-advisories@github.com — Exploit, Vendor Advisory
- 134c704f-9b21-4f2e-91b3-4a467353bcc0 — Exploit, Vendor Advisory