CVE catalog

CVE-2026-87029

node-undici: CVE-2026-87029

[CVE catalog]

Severity
Medium · CVSS 5.9CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Published
Source
[NVD] · [CVE record]
EPSS
0.26% · Oct 25, 2026

undici is an HTTP client library for Node.js. In versions 7.15.0 through 7.30.0 and 8.0.0 through 8.12.1, its decompress interceptor forwards decompressed response data to the downstream handler from zlib stream event callbacks without catching exceptions those callbacks may throw, and while undici's engine converts a synchronous throw from a downstream handler into a per-request failure, that protection is absent when the throw happens asynchronously from a zlib callback. As a result, a downstream handler that throws by design, such as the built-in dump interceptor which throws when a response exceeds its configured maximum size, escapes as an uncaught exception that terminates the Node.js process. A malicious or compromised HTTP server can crash any client that composes the decompress interceptor with such a handler by returning a small compressed body that decompresses to more than the configured limit, so only the decompressed size matters and the bytes on the wire stay tiny. The issue is fixed in undici 7.30.1 and 8.12.2, and users should upgrade to one of those versions or later. As a workaround, avoid composing the decompress interceptor with a response handler that throws during response processing until upgrading.

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-1vulnerable
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.12.2fixed
Ubuntunode-undici24.045.22.1+dfsg1+~cs20.10.10.2-1ubuntu1vulnerable
Ubuntunode-undici24.045.26.3+dfsg1+~cs23.10.12-2vulnerable
Ubuntunode-undici26.107.18.2+dfsg+~cs3.2.0-1build1vulnerable
Ubuntunode-undici26.107.24.6+dfsg+~cs3.2.0-3vulnerable
Ubuntunode-undici26.108.5.0+dfsg+~cs3.2.0-2vulnerable
Ubuntunode-undici26.108.5.0+dfsg+~cs3.2.0-3vulnerable
Ubuntunode-undici26.108.9.0+dfsg+~cs3.2.0-1vulnerable
Ubuntunode-undici26.047.3.0+dfsg1+~cs24.12.11-2vulnerable
Ubuntunode-undici26.047.16.0+dfsg+~cs3.2.0-2vulnerable
Ubuntunode-undici26.047.18.2+dfsg+~cs3.2.0-1vulnerable
Ubuntunode-undici26.047.18.2+dfsg+~cs3.2.0-1build1vulnerable

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiannode-undicisourcesid8.12.2+dfsg+~cs3.2.3-1not yet assignedNot reportedNot reported
Debiannode-undicisourceforky(unfixed)not yet assignedNot reportedNot reported
Debiannode-undicisourcetrixie(unfixed)not yet assignedNot reportedNot reported
Debiannode-undicisourcebookworm(unfixed)not yet assignedNot reportedNot reported
CpeundicicpeNot reported8.12.2Not reportedNVD-CVE-2026-87029Not reported

Notes

[trixie] 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

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

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

      Affected

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

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

      Affected

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

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

      Affected

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

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

      Affected

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

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

      Affected

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

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

      Affected

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

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

      Affected

      dsa · node-undici · debian · bookworm; dsa · 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

      dsa · node-undici · debian · 13

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

      Affected

      dsa · 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

      dsa · node-undici · debian · 13

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

      Affected

      dsa · 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

      dsa · node-undici · debian · 13

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

      Affected

      dsa · node-undici · debian · 13

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

      Affected

      dsa · node-undici · debian · 13

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

      Affected

      dsa · node-undici · debian · 13

Observed:

References