# CVE-2026-87029: undici vulnerable to Denial of Service via unhandled exception in the decompress interceptor

- Severity: Medium 5.9 (CVSS:3.1, scored by openjs) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.26%, higher than 18% of CVEs (2026-12-01)
- Published: 2026-10-15T18:48:36.902Z
- Modified: 2026-10-27T19:15:22.392Z
- Also known as: GHSA-55wc-3pg8-jfw6
- Weaknesses: CWE-248
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: openjs

## Description

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.

(As written by CVE List.)

## Affected

- undici undici: from 7.15.0 before 7.30.1; from 8.0.0 before 8.12.2 (not affected: 7.30.1; 8.12.2)
- undici (npm): from 7.15.0 before 7.30.1; from 8.0.0 before 8.12.2
- nodejs undici: from 7.15.0 before 7.30.1; from 8.0.0 before 8.12.2

## Every score

- openjs: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/nodejs/undici/security/advisories/GHSA-55wc-3pg8-jfw6> (mitigation, vendor-advisory, web)
- <https://cna.openjsf.org/security-advisories.html> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-87029> (advisory)
- <https://github.com/nodejs/undici/commit/63cba7712ca012b2603c6aeeb4c72d8692332cd0> (web)
- <https://github.com/nodejs/undici/commit/f851f315db1f2acce0ea668f88d9d0fa61c8420c> (web)
- <https://github.com/nodejs/undici> (package)
- <https://github.com/nodejs/undici/releases/tag/v7.30.1> (web)
- <https://github.com/nodejs/undici/releases/tag/v8.12.2> (web)

## Sources

- CVE List: [CVE-2026-87029](https://www.cve.org/CVERecord?id=CVE-2026-87029), CVE Terms of Use, modified 2026-10-16
- GitHub Advisory Database: [GHSA-55wc-3pg8-jfw6](https://github.com/advisories/GHSA-55wc-3pg8-jfw6), CC-BY-4.0, modified 2026-10-27
- NVD: [CVE-2026-87029](https://nvd.nist.gov/vuln/detail/CVE-2026-87029), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-87029 · Whole record: https://cve.day/CVE-2026-87029.json · Rebuilt by cve.day 2026-11-25T22:59:44.958Z
