CVE-2026-59868
Aliases:GHSA-g796-fgmg-93mv
Advisory lineage Upstream: 0 Downstream: 9
PUBLISHED
Published: 08 Jul 2026, 15:18
Last modified:09 Jul 2026, 13:42
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:18
Published
Vulnerability first disclosed
09 Jul 2026, 13:42
Last Modified
Vulnerability information updated
Description
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 version 5.2.0.
CVSS Metrics
- v3.1•MEDIUM•Score: 5.3CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Techniques & Countermeasures
- CWE-407•Inefficient 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
- nodeca•js-yaml
≥ 5.0.0, < 5.2.0
- Npm•js-yaml
≥ 5.0.0, < 5.2.0