cvelo
P2 · HighCVSS 7.5

undici vulnerable to Denial of Service via reachable assertion in the HTTP/1.1 response parser

  • CVE-2026-141997
  • EUVD-2026-145402

Description

undici is an HTTP client for Node.js. In versions 6.26.0 through 6.29.1, 7.26.0 through 7.30.3, and 8.3.0 through 8.4.0, the HTTP/1.1 client asserts that the response parser is not paused when the connection ends, but the parser is paused whenever the application applies backpressure to a response body. A server that sends a response large enough to fill the body buffer and then closes or resets the connection triggers an AssertionError inside a socket event listener, 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 regardless of the application's error handling. The issue is fixed in undici 6.29.2, 7.30.4, and 8.4.1, and users should upgrade to one of those versions or later. There is no workaround.

Text from the CVE.org record.

Recommendation

  • undici

    • If you run a version from 8.3.0 to before 8.4.1update to 8.4.1 or laterMinor version change: check the release notes
    • If you run a version from 7.26.0 to before 7.30.4update to 7.30.4 or laterMinor version change: check the release notes
    • If you run a version from 6.26.0 to before 6.29.2update to 6.29.2 or laterMinor version change: check the release notes

Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.

Affected

  • undici

    Affected versionsFixed in
    from 8.3.0 to before 8.4.18.4.1
    from 7.26.0 to before 7.30.47.30.4
    from 6.26.0 to before 6.29.26.29.2

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.