# GHSA-H5RF-4XRF-76MC: undici vulnerable to Denial of Service via reachable assertion in the HTTP/1.1 response parser

- Database: GitHub
- Severity: CVSS 7.5 (High)
- Published: 2026-12-04
- Modified: 2026-12-04

## Tracked as

- [CVE-2026-141997](https://cve.now/CVE-2026-141997.md): undici denial of service in HTTP response parser

## Affected versions

- undici (npm): from 7.26.0, fixed in 7.30.4
- undici (npm): from 6.26.0, fixed in 6.29.2
- undici (npm): from 8.3.0, fixed in 8.4.1

## Description

### Impact

undici's HTTP/1.1 client asserts that the response parser is not paused when the connection ends. The parser is paused while the application applies backpressure to a response body, so a server that sends a response large enough to fill the body buffer (64 KiB) and then closes or resets the connection triggers an `AssertionError` from inside a socket event listener. The error is thrown outside any promise or `'error'` event the application can handle, so it becomes an uncaught exception and terminates the Node.js process.

A malicious or compromised server reached through undici, including `request()` and the global `fetch()`, can crash the client with a single response. The issue was introduced in undici 6.26.0, 7.26.0 and 8.3.0, and was fixed in 8.4.1 but not released on the 6.x and 7.x lines.

### Patches

Upgrade to undici `6.29.2`, `7.30.4` or `8.4.1`.

### Workarounds

No workaround is available. Upgrade to a patched version.

## References

- https://github.com/nodejs/undici/security/advisories/GHSA-h5rf-4xrf-76mc

Page: https://cve.now/GHSA-H5RF-4XRF-76MC

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
