CVE catalog

CVE-2026-19534

undici's WebSocket client crashes the whole Node.js process during the opening handshake when a server responds with a subprotocol that the client never requested. A default WebSocket connection sends

[CVE catalog]

Severity
High · CVSS 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Published
Updated
Source
[NVD] · [CVE record]
EPSS
0.39% · Oct 25, 2026

undici's WebSocket client crashes the whole Node.js process during the opening handshake when a server responds with a subprotocol that the client never requested. A default WebSocket connection sends no subprotocol, but if the server's 101 response includes a Sec-WebSocket-Protocol header, undici dereferences a null value while checking it against the requested list and throws an uncaught TypeError. Because that code runs inside a microtask with no surrounding error handling, the exception propagates and terminates the process under Node's default behavior, instead of gracefully failing the connection as required by the WebSocket protocol. Any application that opens a WebSocket to an attacker-controlled or compromised server, or over a plaintext connection subject to a machine-in-the-middle, can be crashed remotely without authentication in the default configuration. This affects undici versions from 6.7.0 up to 6.28.1, from 7.0.0 up to 7.29.1, and from 8.0.0 up to 8.10.2. Users should upgrade to undici 6.28.1, 7.29.1, or 8.10.2.

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-2fixed
Debiannode-undiciforky8.10.2+dfsg+~cs3.2.2-1fixed
Debiannode-undicitrixie7.3.0+dfsg1+~cs24.12.11-1vulnerable
Debiannode-undicibookworm5.15.0+dfsg1+~cs20.10.9.3-1+deb12u4vulnerable
Debiannode-undicibookworm-security5.15.0+dfsg1+~cs20.10.9.3-1+deb12u3vulnerable
CpeundiciNot reported8.10.2fixed
NpmundiciNot reported8.10.2fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiannode-undicisourcesid8.10.2+dfsg+~cs3.2.2-1not yet assignedNot reported[1146745]
Debiannode-undicisourceforky8.10.2+dfsg+~cs3.2.2-1not yet assignedNot reported[1146745]
Debiannode-undicisourcetrixie(unfixed)not yet assignedNot reported[1146745]
Debiannode-undicisourcebookworm(unfixed)not yet assignedNot reported[1146745]
CpeundicicpeNot reported8.10.2Not reportedNVD-CVE-2026-19534Not reported
NpmundicinpmNot reported8.10.2Not reportedGHSA-RFGV-XXQX-MFG5Not reported

[Debian bug #1146745]

Notes

[trixie] node-undici: Minor issue [bookworm] node-undici: Minor issue

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [node-llhttp]Affected

    Source package: [node-undici]

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

      Affected

      nvd · node-undici · debian · bookworm; nvd · node-undici · debian · 12

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

      Affected

      nvd · node-undici · debian · bookworm; nvd · node-undici · debian · 12

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

      Affected

      nvd · node-undici · debian · bookworm; nvd · node-undici · debian · 12

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

      Affected

      nvd · node-undici · debian · bookworm; nvd · node-undici · debian · 12

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

      Affected

      nvd · node-undici · debian · bookworm; nvd · node-undici · debian · 12

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

      Affected

      nvd · node-undici · debian · bookworm; nvd · node-undici · debian · 12

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

      Affected

      nvd · node-undici · debian · bookworm; nvd · node-undici · debian · 12

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

      Affected

      nvd · node-undici · debian · bookworm; nvd · node-undici · debian · 12

[Debian 13 (Trixie)]

  • [libllhttp9.2]Affected

    Source package: [node-undici]

    Details (2)
    • 9.2.1~7.3.0+dfsg1+~cs24.12.11-1 · amd64 · trixie

      Affected

      nvd · node-undici · debian · 13

    • 9.2.1~7.3.0+dfsg1+~cs24.12.11-1 · arm64 · trixie

      Affected

      nvd · node-undici · debian · 13

  • [libllhttp-dev]Affected

    Source package: [node-undici]

    Details (2)
    • 9.2.1~7.3.0+dfsg1+~cs24.12.11-1 · amd64 · trixie

      Affected

      nvd · node-undici · debian · 13

    • 9.2.1~7.3.0+dfsg1+~cs24.12.11-1 · arm64 · trixie

      Affected

      nvd · node-undici · debian · 13

  • [node-llhttp]Affected

    Source package: [node-undici]

    Details (2)
    • 9.2.1~7.3.0+dfsg1+~cs24.12.11-1 · all · trixie

      Affected

      nvd · node-undici · debian · 13

    • 9.2.1~7.3.0+dfsg1+~cs24.12.11-1 · all · trixie

      Affected

      nvd · node-undici · debian · 13

  • [node-undici]Affected
    Details (2)
    • 7.3.0+dfsg1+~cs24.12.11-1 · all · trixie

      Affected

      nvd · node-undici · debian · 13

    • 7.3.0+dfsg1+~cs24.12.11-1 · all · trixie

      Affected

      nvd · node-undici · debian · 13

Observed:

References