PoC Monitor
← All CVEs
CVE-2026-12151published 17 Jun 2026 16:05 UTCData: JSON · API

Undici

undici WebSocket client vulnerable to denial of service via fragment count bypass

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.

First public PoC None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.5high · scored by CNA · CWE-400
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

undici undici
  • < 6.26.0
  • >= 7.0.0, < 7.28.0
  • >= 8.0.0, < 8.5.0

Fixed in 6.26.0, 7.28.0, 8.5.0

Mitigation

Upgrade undici to 6.26.0 or 7.28.0 or 8.5.0 or later.

References

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published17 Jun 2026 · t = 0

No public PoC found yet; not in CISA KEV.

PoC repositories

Found on GitHub.

No PoC repositories found yet.