CVE-2026-12151
undici WebSocket client vulnerable to denial of service via fragment count bypass
- State
- Published
- Severity
- 7.5 High
- Published
- Jun 17, 2026
- Updated
- Sep 11, 2026
- Reserved
- Jun 12, 2026
Description
Impact: The undici WebSocket client enforces maxPayloadSize on the cumulative byte count of fragments in a message but does not enforce a limit on the number of fragments. A malicious WebSocket server can stream many small or empty continuation frames that each pass per-frame and cumulative-size validation, collectively 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(...)) or the WebSocketStream API that can be induced to connect to an attacker-controlled or compromised WebSocket endpoint.
All releases starting at undici 6.17.0 are affected.
Patches: Upgrade to undici >= 6.26.0, >= 7.28.0, or >= 8.5.0. Workarounds: No workaround is available. The fix must be applied through an upgrade.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 7.5 High | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | openjs |
| 3.1 | 7.5 High | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | redhat-SADP |
Weaknesses
Affected Products
| Product | Versions |
|---|---|
undiciundici |
|
References
- https://github.com/nodejs/undici/security/advisories/GHSA-vxpw-j846-p89q
- https://cna.openjsf.org/security-advisories.html
- https://access.redhat.com/security/cve/CVE-2026-12151vdb-entry
- RHBZ#2489980issue-tracking
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-12151.json
- https://access.redhat.com/errata/RHSA-2026:48151vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:39246vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:35842vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:35841vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:41947vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:39868vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:52399vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:35892vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:35891vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:34342vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:66545vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:66488vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:36754vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:41929vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:38236vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:38009vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:65126vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:60520vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:36621vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:47728vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:48124vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:36820vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:62260vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:56431vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:56366vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:57013vendor-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.