Back to overview

CVE-2026-59870

MEDIUM Exploitation: PoC
5.3
CVSS 3.1
Description
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.

Metadata

CVE ID
CVE-2026-59870
State
PUBLISHED
Assigner
GitHub_M
Reserved
2026-07-07 15:41 UTC
Published
2026-07-08 15:13 UTC
Last updated
2026-07-08 15:50 UTC
Primary CWE
CWE-407
CWE-407: Inefficient Algorithmic Complexity
Vendor / Product
nodeca / js-yaml
Sources
cve.org  ·  NVD

Severity & Metrics

5.3 MEDIUM CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
SSVC — CISA Coordinator
Exploitation
PoC
Automatable
yes
Tech. Impact
partial
Affected products (1)
VendorProductPlatformVersions
nodeca js-yaml >= 5.0.0, < 5.2.1
Weakness (CWE)
CWESourceDescription
CWE-407 cna CWE-407: Inefficient Algorithmic Complexity
CVSS scores (1)
ScoreSeverityVersionSourceVector
5.3 MEDIUM 3.1 cna CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
References (3)
Back to overview