CVE catalog

CVE-2026-9675

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 f

[CVE catalog]

Severity
High · CVSS 7.5
Published
Source
[NVD] · [CVE record]
EPSS
0.43% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debiannode-undicisid8.12.2+dfsg+~cs3.2.3-2not affected
Debiannode-undiciforky8.10.2+dfsg+~cs3.2.2-1not affected
Debiannode-undicitrixie7.3.0+dfsg1+~cs24.12.11-1not affected
Debiannode-undicibookworm5.15.0+dfsg1+~cs20.10.9.3-1+deb12u4not affected
Debiannode-undicibookworm-security5.15.0+dfsg1+~cs20.10.9.3-1+deb12u3not affected
CpeundiciNot reported8.5.0fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiannode-undicisourcesidNot affectedunimportantNot reportedNot reported
Debiannode-undicisourceforkyNot affectedunimportantNot reportedNot reported
Debiannode-undicisourcetrixieNot affectedunimportantNot reportedNot reported
Debiannode-undicisourcebookwormNot affectedunimportantNot reportedNot reported
CpeundicicpeNot reported8.5.0Not reportedNot reportedNot reported

Notes

[trixie] node-undici: Minor issue

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [node-llhttp]Not affected

    Source package: [node-undici]

    Details (4)
    • 8.1.0~5.15.0+dfsg1+~cs20.10.9.3-1+deb12u4 · all · bookworm

      Not affected

      nvd · node-undici · debian · bookworm

    • 8.1.0~5.15.0+dfsg1+~cs20.10.9.3-1+deb12u4 · all · bookworm

      Not affected

      nvd · node-undici · debian · bookworm

    • 8.1.0~5.15.0+dfsg1+~cs20.10.9.3-1+deb12u3 · all · bookworm-security

      Not affected

      nvd · node-undici · debian · bookworm

    • 8.1.0~5.15.0+dfsg1+~cs20.10.9.3-1+deb12u3 · all · bookworm-security

      Not affected

      nvd · node-undici · debian · bookworm

  • [node-undici]Not affected
    Details (4)
    • 5.15.0+dfsg1+~cs20.10.9.3-1+deb12u4 · all · bookworm

      Not affected

      nvd · node-undici · debian · bookworm

    • 5.15.0+dfsg1+~cs20.10.9.3-1+deb12u4 · all · bookworm

      Not affected

      nvd · node-undici · debian · bookworm

    • 5.15.0+dfsg1+~cs20.10.9.3-1+deb12u3 · all · bookworm-security

      Not affected

      nvd · node-undici · debian · bookworm

    • 5.15.0+dfsg1+~cs20.10.9.3-1+deb12u3 · all · bookworm-security

      Not affected

      nvd · node-undici · debian · bookworm

Observed:

References