CVE-2026-59870
CVSS v3
5.3
MEDIUM
EPSS Score
0.7 %
exploit probability, as of 2026-10-17
CISA KEV
No
known exploited
Exploitation
—
SSVC status
Get an alert for each new CVE published for js-yaml. Watch js-yaml in CVE Watch Free account · no credit card
Affected and fixed versions
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- js-yamlnpmfrom 5.0.0 · fixed in 5.2.1
Vendor advisories
js-yaml: js-yaml: Denial of Service via crafted YAML ordered-map document
discovery/discovery-ui-rhel9 as a component of Red Hat Discovery 2
Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update
Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update
Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update
Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update
Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update
3 more advisories
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.
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Published
- 2026-07-08
- Last Modified
- 2026-07-08
- GitHub Advisory
- GHSA-724g-mxrg-4qvm
Frequently asked questions
What is CVE-2026-59870?
Is CVE-2026-59870 actively exploited?
What is the CVSS score for CVE-2026-59870?
Running js-yaml? Hear about its next vulnerability
CVE Watch matches each new CVE to the vendors and products you list (vendor and product, not the version) and puts it in your alerts with its KEV and EPSS status.
Already have an account? Open CVE WatchNo credit card required · 50 free checks/month · Free API key
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? CVE Watch alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.