CVE-2026-84947 PUBLISHED

undici vulnerable to response truncation via oversized chunked responses in the dump interceptor

Assigner: openjs
Reserved: 02.09.2026 Published: 04.09.2026 Updated: 04.09.2026

undici's dump interceptor reads and discards a response body up to a configurable maximum size. When a response declares a Content-Length that exceeds the maximum, the interceptor aborts cleanly, but when a response has no Content-Length and is chunked, the interceptor instead signals completion early once the accumulated size reaches the maximum, without pausing or aborting the request. Because the underlying parser keeps delivering body bytes, a second completion signal fires and trips an internal assertion, which aborts the request and tears down the connection. The application is left observing a misleading successful status with an empty or truncated body while the connection has actually been disconnected. This affects undici versions from 7.1.0 up to 7.29.1 and from 8.0.0 up to 8.10.2. Users should upgrade to undici 7.29.1 or 8.10.2.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N
CVSS Score: 3.7

Product Status

Vendor undici
Product undici
Versions Default: unaffected
  • affected from 7.1.0 to 7.29.1 (excl.)
  • Version 7.29.1 is unaffected
  • affected from 8.0.0 to 8.10.2 (excl.)
  • Version 8.10.2 is unaffected

Credits

  • mcollina analyst
  • UlisesGascon remediation reviewer

References

Problem Types

  • CWE-20: Improper Input Validation CWE
  • CWE-248: Uncaught Exception CWE