Description
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.
Published: 2026-09-04
Score: 3.7 Low
EPSS: < 1% Very Low
KEV: No
Impact: Incorrect handling of oversized chunked HTTP responses leading to truncated bodies and abrupt connection termination
Action: Apply Patch
AI Analysis

Impact

Undici's dump interceptor is designed to read a response body up to a configurable maximum. The vulnerability arises when a response lacks a Content-Length and uses chunked encoding. If the accumulated size reaches the maximum, the interceptor signals completion prematurely without pausing or aborting the request. Because the underlying network parser continues delivering data, a second completion event is generated, which triggers an internal assertion and forces the request to abort, tearing down the connection. The application therefore sees a successful status code but receives an empty or truncated body, while the network connection is unexpectedly closed. This flaw is a case of input validation and truncation (CWE‑20 and CWE‑248).

Affected Systems

The issue affects the undici HTTP client in Node.js. Vulnerable versions include 7.1.0 through 7.29.1 and 8.0.0 through 8.10.2. Users of undici within their applications should upgrade to either 7.29.1 or 8.10.2 to eliminate the problem.

Risk and Exploitability

The CVSS score of 3.7 reflects a low severity impact. The likely attack vector is an untrusted upstream server or HTTP client that sends oversized chunked responses, which can cause the client to misinterpret the response, leading to data loss or denial of service through repeated requests. This inference comes from the description, as the flaw relies on manipulating the response format. The EPSS score is not available and the vulnerability is not listed in CISA’s KEV catalog, indicating a low to moderate exploitation probability. Because the client misinterprets responses, monitoring for anomalous aborted connections and ensuring proper validation of response bodies remain critical.

Generated by OpenCVE AI on September 5, 2026 at 01:51 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the undici package to version 7.29.1 or 8.10.2
  • If upgrading is not immediately possible, remove or disable the dump interceptor so that raw responses are processed without premature truncation
  • Implement application‑level checks to detect if a response body was truncated or if a connection was terminated unexpectedly, and handle such cases gracefully

Generated by OpenCVE AI on September 5, 2026 at 01:51 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 15 Sep 2026 14:45:00 +0000

Type Values Removed Values Added
First Time appeared Nodejs
Nodejs undici
CPEs cpe:2.3:a:nodejs:undici:*:*:*:*:*:node.js:*:*
Vendors & Products Nodejs
Nodejs undici

Sat, 05 Sep 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-130
References
Metrics threat_severity

None

threat_severity

Moderate


Fri, 04 Sep 2026 21:15:00 +0000

Type Values Removed Values Added
First Time appeared Undici
Undici undici
Vendors & Products Undici
Undici undici

Fri, 04 Sep 2026 19:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Fri, 04 Sep 2026 17:00:00 +0000

Type Values Removed Values Added
Description 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.
Title undici vulnerable to response truncation via oversized chunked responses in the dump interceptor
Weaknesses CWE-20
CWE-248
References
Metrics cvssV3_1

{'score': 3.7, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: openjs

Published:

Updated: 2026-09-04T18:35:25.824Z

Reserved: 2026-09-02T17:08:36.395Z

Link: CVE-2026-84947

cve-icon Vulnrichment

Updated: 2026-09-04T18:35:20.971Z

cve-icon NVD

Status : Analyzed

Published: 2026-09-04T17:17:02.103

Modified: 2026-09-15T14:30:53.617

Link: CVE-2026-84947

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-09-04T16:53:11Z

Links: CVE-2026-84947 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-09-05T02:00:13Z

Weaknesses
  • CWE-130

    Improper Handling of Length Parameter Inconsistency

  • CWE-20

    Improper Input Validation

  • CWE-248

    Uncaught Exception