Bug 2498130 (CVE-2026-59870) - CVE-2026-59870 js-yaml: js-yaml: Denial of Service via crafted YAML ordered-map document
Summary: CVE-2026-59870 js-yaml: js-yaml: Denial of Service via crafted YAML ordered-m...
Keywords:
Status: NEW
Alias: CVE-2026-59870
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2498446
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-07-08 16:02 UTC by OSIDB Bzimport
Modified: 2026-07-09 09:41 UTC (History)
172 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-07-08 16:02:28 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.