VulnerabilityCVE-2026-59868GHSA-g796-fgmg-93mvWID-SEC-W-2026-3221:CVE-2026-59868
js-yaml: YAML merge-key chains can force quadratic CPU consumption
Not on CISA KEV
Summary
js-yaml is a JavaScript YAML parser and dumper. From 5.0.0 before 5.2.0, when merge keys are enabled, js-yaml can spend quadratic CPU time parsing a document whose size grows only linearly when a chain of mappings uses merge keys where each mapping merges the previous one. This issue is fixed in
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)