PT-2026-56489
CVE-2026-59868
·
Published
2026-07-08
·
Updated
2026-07-21
Description by
CVSS 3.1
7.5
HighMetricsAV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions
js-yaml versions 5.0.0 through 5.1.x
Description
When merge keys are enabled, the software is susceptible to a Denial of Service (DoS) due to algorithmic complexity. Specifically, the parser can spend quadratic CPU time processing a document that grows only linearly in size. This occurs when a chain of mappings is used where each mapping merges the previous one, forcing the loader to enumerate inherited keys repeatedly. This results in O(N^2) work for an O(N) input size.
Recommendations
Update js-yaml to version 5.2.0.
As a temporary mitigation, disable the use of merge keys during parsing.
Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Found an issue in the description? Have something to add? Feel free to write us 👾