Intel

AIKIDO-2026-609286

undici is vulnerable to Denial of Service (DoS)

CVE-2026-109924Published Oct 19, 2026
October 19, 2026

59

CVE Score

Medium

Denial of Service (DoS)

Are you affected? Scan for Free

TL;DR

The undici EventSource client retains unbounded parser state when receiving data from a Server-Sent Events peer. A malicious or compromised server can send millions of tiny completed data: fields without a blank event separator, or a single unfinished line split across many chunks, causing per-field and per-chunk state to grow without limit. The byte-based maxEventSize and maxResponseSize limits do not bound this state, and maxResponseSize is enforced on the compressed body before decompression, so a small compressed response can expand into enough memory to terminate the process. The fix bounds the number of data fields and buffered chunks, the unfinished-line length, and per-field byte totals independently of the byte limits.

How do I fix this?

Upgrade the undici library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you use EventSource to connect to an untrusted or potentially compromised server.

Package

Versions

6.5.0 - 6.29.0

Fixed in 6.29.1

7.0.0 - 7.30.0

Fixed in 7.30.1

8.0.0 - 8.12.1

Fixed in 8.12.2

Background info

undici is vulnerable to Denial of Service (DoS) in versions 6.5.0 - 6.29.0, 7.0.0 - 7.30.0 and 8.0.0 - 8.12.1.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea