---
title: "GHSA-55wc-3pg8-jfw6: undici vulnerable to Denial of Service via unhandled exception in the decompress interceptor"
description: "Moderate severity. undici vulnerable to Denial of Service via unhandled exception in the decompress interceptor. Affects undici; fixed in 8.12.2."
url: https://inlinr.com/advisories/GHSA-55wc-3pg8-jfw6
lang: en
---

[Packages](https://inlinr.com/packages) / [undici](https://inlinr.com/packages/undici) / [Security](https://inlinr.com/packages/undici/security)

Moderate Vulnerability GHSA-55wc-3pg8-jfw6 CVE-2026-87029 Published 27 Oct 2026

# undici vulnerable to Denial of Service via unhandled exception in the decompress interceptor

Your version 

Affected releases · [undici](https://inlinr.com/packages/undici)

- 8.x 8.0.0 – 8.12.1 Fixed in 8.12.2
- 7.x 7.15.0 – 7.30.0 Fixed in 7.30.1

On 8.x, the newest line:

```
npm install undici@8.12.2
```

Every release on a timeline

8.x 

1. Affected

8.0.0 – 8.12.1  
22 releases
2. Fixed

8.12.2 – 8.13.1  
5 releases

7.x 

1. Not affected

7.0.0 – 7.14.0  
19 releases
2. Affected

7.15.0 – 7.30.0  
31 releases
3. Fixed

7.30.1 – 7.30.2  
2 releases

288 stable releases of undici, oldest to newest, one row per major.

## What happens

Impact

undici's `decompress` interceptor forwards decompressed response data to the downstream handler from zlib stream event callbacks without catching exceptions those callbacks may throw. undici's engine converts a synchronous throw from a downstream handler into a per-request failure, but that protection is not in place when the throw happens asynchronously from a zlib callback. As a result, a downstream handler that throws by design, for example the built-in `dump` interceptor which throws when a response exceeds its `maxSize`, escapes as an uncaught exception and terminates the Node.js process.

A malicious or compromised HTTP server can crash any client that composes the `decompress` interceptor with `dump` (or another response handler that throws), by returning a small compressed body that decompresses to more than the configured limit. The compressed bytes on the wire are tiny, so only the decompressed size matters. If the application keeps the process alive with a global uncaught-exception handler, the affected request instead hangs until the body timeout.

Patches

Upgrade to undici 7.30.1 or 8.12.2.

Workarounds

Avoid composing the `decompress` interceptor with a response handler that throws during response processing (such as `dump` with a `maxSize`) until upgrading.

## How it is exploited

Exploitable over the network, with no account and no action from a user.

- **Confidentiality**: none
- **Integrity**: none
- **Availability**: high

CVSS:3.1/​AV:N/​AC:H/​PR:N/​UI:N/​S:U/​C:N/​I:N/​A:H

## References

- [Reference](https://github.com/nodejs/undici/security/advisories/GHSA-55wc-3pg8-jfw6 "https://github.com/nodejs/undici/security/advisories/GHSA-55wc-3pg8-jfw6")  
github.com/nodejs/undici/security/advisories/GH…
- [NVD](https://nvd.nist.gov/vuln/detail/CVE-2026-87029 "https://nvd.nist.gov/vuln/detail/CVE-2026-87029")  
nvd.nist.gov/vuln/detail/CVE-2026-87029
- [Fix commit](https://github.com/nodejs/undici/commit/63cba7712ca012b2603c6aeeb4c72d8692332cd0 "https://github.com/nodejs/undici/commit/63cba7712ca012b2603c6aeeb4c72d8692332cd0")  
63cba77
- [Fix commit](https://github.com/nodejs/undici/commit/f851f315db1f2acce0ea668f88d9d0fa61c8420c "https://github.com/nodejs/undici/commit/f851f315db1f2acce0ea668f88d9d0fa61c8420c")  
f851f31
- [Reference](https://cna.openjsf.org/security-advisories.html "https://cna.openjsf.org/security-advisories.html")  
cna.openjsf.org/security-advisories.html
- [Package](https://github.com/nodejs/undici "https://github.com/nodejs/undici")  
github.com/nodejs/undici
- [Reference](https://github.com/nodejs/undici/releases/tag/v7.30.1 "https://github.com/nodejs/undici/releases/tag/v7.30.1")  
github.com/nodejs/undici/releases/tag/v7.30.1
- [Reference](https://github.com/nodejs/undici/releases/tag/v8.12.2 "https://github.com/nodejs/undici/releases/tag/v8.12.2")  
github.com/nodejs/undici/releases/tag/v8.12.2

A whole project to check? Paste its package.json in the [dependency check](https://inlinr.com/tools/dependency-check): every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.
