VulnerabilityCVE-2026-59870GHSA-724g-mxrg-4qvmWID-SEC-W-2026-3221:CVE-2026-59870
js-yaml quadratic-complexity denial of service via YAML11_SCHEMA !!omap parsing
Not on CISA KEV
Summary
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
See the full record, free
- Every source, score and reference in one place
- Timeline and related records
- Watch an entry and get an alert when it changes
Sources and credits
- BSI CERT-Bund Source: BSI CERT-Bund
- CISA Vulnrichment Source: CISA Vulnrichment
- CVE List Source: CVE Program (cve.org)
- GitHub Advisory DB Source: GitHub Advisory Database (CC BY 4.0)
- Red Hat Source: Red Hat Security Data (CC BY 4.0)