Allocation of Resources Without Limits or Throttling Affecting undici package, versions >=6.5.0 <6.29.1>=7.0.0 <7.30.1>=8.0.0 <8.12.2


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.31% (23rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Allocation of Resources Without Limits or Throttling vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-UNDICI-21181019
  • published18 Oct 2026
  • disclosed15 Oct 2026
  • creditSyed Mohammad Ibrahim

Introduced: 15 Oct 2026

NewCVE-2026-109924  (opens in a new tab)
CWE-770  (opens in a new tab)

How to fix?

Upgrade undici to version 6.29.1, 7.30.1, 8.12.2 or higher.

Overview

undici is an An HTTP/1.1 client, written from scratch for Node.js

Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling via the EventSourceStream transform in lib/web/eventsource/eventsource-stream.js, where the maxEventSize limit is only enforced inside parseLine(), which is only invoked when a line terminator (CR or LF) is encountered. A server can stream a data: field (or any field) that never contains a line terminator, causing the client to buffer the response body without bound and driving the process toward memory exhaustion.

CVSS Base Scores

version 4.0
version 3.1