# CVE-2026-9675: undici WebSocket client vulnerable to denial of service via cumulative fragment bypass

- Severity: High 7.5 (CVSS:3.1, scored by openjs) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.43%, higher than 38% of CVEs (2026-12-01)
- Published: 2026-06-17T16:20:32.548Z
- Modified: 2026-06-25T17:46:52.130Z
- Also known as: GHSA-38rv-x7px-6hhq
- Weaknesses: CWE-400, CWE-770
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: openjs

## 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.

(As written by CVE List.)

## Affected

- undici undici: from 8.0.0 before 8.5.0 (not affected: 8.5.0)
- undici (npm): from 8.0.0 before 8.5.0
- nodejs undici: from 8.0.0 before 8.5.0

## Every score

- openjs: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/nodejs/undici/security/advisories/GHSA-38rv-x7px-6hhq> (vendor-advisory, web)
- <https://cna.openjsf.org/security-advisories.html> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-9675> (advisory)
- <https://github.com/nodejs/undici> (package)

## Sources

- CVE List: [CVE-2026-9675](https://www.cve.org/CVERecord?id=CVE-2026-9675), CVE Terms of Use, modified 2026-06-17
- GitHub Advisory Database: [GHSA-38rv-x7px-6hhq](https://github.com/advisories/GHSA-38rv-x7px-6hhq), CC-BY-4.0, modified 2026-06-18
- NVD: [CVE-2026-9675](https://nvd.nist.gov/vuln/detail/CVE-2026-9675), Public domain, modified 2026-06-25

---

Page: https://cve.day/CVE-2026-9675 · Whole record: https://cve.day/CVE-2026-9675.json · Rebuilt by cve.day 2026-11-25T22:59:24.982Z
