CVE-2026-9675
Description
Impact: The undici WebSocket client enforces maxPayloadSize per-frame but does not enforce the cumulative size of fragmented uncompressed messages. A malicious WebSocket server can stream many small fragments that each pass per-frame validation but collectively exceed the configured limit, causing unbounded memory growth in the client process. The result is memory exhaustion and a denial of service. Affected applications are those using the undici WebSocket client (new WebSocket(...)) that can be induced to connect to an attacker-controlled or compromised WebSocket endpoint. This is a regression specific to undici 8.1.0. The 6.25.0 line shipped the equivalent cumulative check from the start and is unaffected. The 7.x line never had the maxPayloadSize feature and is also unaffected. Patches: Upgrade to undici >= 8.5.0. Workarounds: No workaround is available. The fix must be applied through an upgrade.
Description as published by the source, in English.
Key facts
- Published
- 2026-06-17
- Last modified
- 2026-06-25
- Assigned by
- ce714d77-add3-4f53-aff5-83d477b104bb
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H- Scored by
- ce714d77-add3-4f53-aff5-83d477b104bb
- Probability of exploitation
-
0.4 %
higher than 35 %
of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15 - Fix available
- Not registered in the sources
Affected products
| Vendor | Product | Versions | Status |
|---|---|---|---|
| undici (npm) | ≥ 8.0.0, < 8.5.0 | Affected | |
| Nodejs | Undici | ≥ 8.0.0, < 8.5.0 | Affected |
Weakness type
-
CWE-400: Uncontrolled Resource Consumption
The product does not properly control the allocation and maintenance of a limited resource.
-
CWE-770: Allocation of Resources Without Limits or Throttling
The product allocates a reusable resource or group of resources on behalf of an actor without imposing any intended restrictions on the size or number of resources that can be allocated.
Attack techniques
Derived through the weakness type: CVE to CWE to CAPEC to ATT&CK. This shows which techniques the weakness class is historically used for. It does not assert that this vulnerability has been exploited that way.
- T1498.001: Direct Network Flood
- T1498.002: Reflection Amplification
- T1499: Endpoint Denial of Service
- T1499.001: OS Exhaustion Flood
- T1499.002: Service Exhaustion Flood
- T1499.003: Application Exhaustion Flood
References
- https://cna.openjsf.org/security-advisories.html
- https://github.com/nodejs/undici/security/advisories/GHSA-38rv-x7px-6hhq
Related at Berigo
Articles
-
Splunk issues critical advisories for Enterprise and AppDynamics
Same product
2026-03-11
On 11 March, Splunk published several advisories covering critical vulnerabilities inherited from third-party components in Enterprise and AppDynamic…
-
Critical sandbox escape in the vm2 Node.js library
Same product
2026-01-27
CVE-2026-22709 lets code inside the vm2 sandbox break out and run commands on the host. The library sees around a million weekly downloads.
Does this affect you?
A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.