CVE-2026-59870

Aliases:GHSA-724g-mxrg-4qvm
Advisory lineage Upstream: 0 Downstream: 9
PUBLISHED
Published: 08 Jul 2026, 15:13
Last modified:08 Jul 2026, 15:50

Vulnerability Summary

Overall Risk (default)
low
21/100
CVSS Score
5.3 MEDIUM
v3.1 (cve.org)
EPSS Score
No data
KEV
Not listed
Ransomware
No reports
Public exploits
None found
Dark Web
Not detected

Timeline

08 Jul 2026, 15:13
Published
Vulnerability first disclosed
08 Jul 2026, 15:50
Last Modified
Vulnerability information updated

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.

CVSS Metrics

  • v3.1MEDIUMScore: 5.3CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Techniques & Countermeasures

  • CWE-407Inefficient Algorithmic Complexity

    An algorithm in a product has an inefficient worst-case computational complexity that may be detrimental to system performance and can be triggered by an attacker, typically using crafted manipulations that ensure that the worst case is being reached.

Affected Systems

  • nodecajs-yaml

    ≥ 5.0.0, < 5.2.1

  • Npmjs-yaml

    ≥ 5.0.0, < 5.2.1

References (5)