SB2026080108 - Inefficient Algorithmic Complexity in js-yaml (npm)
Published: August 1, 2026
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 1 vulnerability.
1) Inefficient Algorithmic Complexity (CVE-ID: N/A)
CWE-ID: CWE-407 - Inefficient Algorithmic Complexity
CVSSv4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
The vulnerability allows a remote attacker to cause a denial of service.
The vulnerability exists due to inefficient algorithmic complexity in readFlowCollection in parser.ts when parsing untrusted YAML flow collections via load() or loadAll(). A remote attacker can send a specially crafted small YAML document to cause a denial of service.
A single request can keep one CPU busy for minutes or longer and block the Node event loop, which can stall the whole process.
Remediation
Install update from vendor's website.