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.
CVE-2026-59870
This high-severity CVE scores 7.5 under NVD CVSS v3. EPSS exploit probability: 0.4%, top 72% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- High severity, but no confirmed exploitation yet
A fix is available — apply it.
- CVSS v3
- 7.5
- EG Score
- 7.5(medium)
- EPSS
- 28.3%
- KEV
- Not listed
Published
July 8, 2026
Last Modified
July 10, 2026
Advisory Details (2)
Auto-updated Jul 8, 2026Quadratic-complexity (O(n^2)) DoS in js-yaml 5.x via !!omap tag in YAML11_SCHEMA · Advisory · nodeca/js-yaml · GitHub
https://github.com/nodeca/js-yaml/security/advisories/GHSA-724g-mxrg-4qvmcommit 39f3211a2f01 (nodeca/js-yaml)
Fix landed in nodeca/js-yaml commit 39f3211a2f01 — awaiting tagged release
https://github.com/nodeca/js-yaml/commit/39f3211a2f01b3c6982710cf21434ab7060acefeVendor Advisories for CVE-2026-59870(9)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
- GHSA-724g-mxrg-4qvmGitHub Security AdvisoriesMedium
js-yaml: Quadratic-complexity (O(n^2)) DoS via !!omap tag in YAML11_SCHEMA
- RHSA-2026:35272Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update
- RHSA-2026:34975Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update
- RHSA-2026:34478Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update
- RHSA-2026:33866Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update
- RHSA-2026:26994Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update
- RHSA-2026:9455Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update
- RHSA-2026:7655Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update
- +1 more
Patch Availability(8)
| Vendor / Ecosystem | Fixed in / Patch | Released | Source |
|---|---|---|---|
| redhat | nodejs22-main-22.23.1-2.hum1 | 2026-07-03 | redhat |
| redhat | rust-main-1.96.1-1.hum1 | 2026-07-02 | redhat |
| redhat | nodejs24-main-24.18.0-0.2.hum1 | 2026-07-01 | redhat |
| redhat | nodejs26-main-26.4.0-1.3.hum1 | 2026-06-30 | redhat |
| redhat | dotnet8-0-main-8.0.128-1.hum1 | 2026-06-18 | redhat |
| redhat | nodejs20-main-20.20.2-1.hum1 | 2026-04-21 | redhat |
| redhat | yarnpkg-main-1.22.22-18.1.hum1 | 2026-04-11 | redhat |
| redhat | nodejs25-main-25.9.0-1.1.hum1 | 2026-04-10 | redhat |
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Affected Packages
(1 across 1 ecosystem)
npm(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| js-yaml | — | 5.2.1 | — |
Weakness Classification(2)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 11× in last 7d / 37× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-07-22 14:08 UTCEPSS rescore
- 2026-07-22 14:08 UTCEPSS rescore
- 2026-07-21 15:25 UTCEPSS rescore
- 2026-07-21 15:25 UTCEPSS rescore
- 2026-07-20 17:08 UTCEPSS rescore
- 2026-07-19 14:31 UTCEPSS rescore
- 2026-07-19 02:29 UTCEPSS rescore
- 2026-07-18 10:04 UTCEPSS rescore
- 2026-07-16 23:32 UTCVendor advisory
- 2026-07-16 17:03 UTCEPSS rescore
- 2026-07-16 10:45 UTCVendor advisory
- 2026-07-15 21:57 UTCVendor advisory
- 2026-07-15 16:57 UTCEPSS rescore
- 2026-07-15 16:57 UTCEPSS rescore
- 2026-07-15 09:08 UTCVendor advisory
- 2026-07-15 02:00 UTCEPSS rescore
- 2026-07-15 02:00 UTCEPSS rescore
- 2026-07-14 20:18 UTCVendor advisory
- 2026-07-14 07:29 UTCVendor advisory
- 2026-07-13 22:31 UTCEPSS rescore
- 2026-07-13 18:39 UTCVendor advisory
- 2026-07-13 06:13 UTCEPSS rescore
- 2026-07-13 06:13 UTCEPSS rescore
- 2026-07-13 05:51 UTCVendor advisory
- 2026-07-12 17:02 UTCVendor advisory
Show 12 moreShow fewer
- 2026-07-12 05:46 UTCEPSS rescore
- 2026-07-12 04:14 UTCVendor advisory
- 2026-07-11 15:26 UTCEG score recompute▲ 2.20
- 2026-07-11 15:26 UTCVendor advisory
- 2026-07-11 08:27 UTCEPSS rescore
- 2026-07-11 08:27 UTCEPSS rescore
- 2026-07-10 20:19 UTCNVD updateCVSS v3 → 7.5 · severity → HIGH
- 2026-07-10 15:33 UTCVendor advisory
- 2026-07-09 19:10 UTCEPSS rescore
- 2026-07-09 19:10 UTCEPSS rescore
- 2026-07-08 15:46 UTCEG score recompute
- 2026-07-08 15:45 UTCMITRE cvelistV5first tracked
Related CVEs(same vendor + same CWE)
Same vendor
10 shownredhat
Same CWE
10 shownCWE-770
Frequently asked(5)
What is CVE-2026-59870?
When was CVE-2026-59870 disclosed?
Is CVE-2026-59870 actively exploited?
What is the CVSS score of CVE-2026-59870?
How do I remediate CVE-2026-59870?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-59870
Is Your Infrastructure Affected by CVE-2026-59870?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.