NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
📦
📦 npm
Not in CISA KEV
MEDIUM severity

undici vulnerable to Denial of Service via unbounded memory in the EventSource parserGHSA-4qv8-2p9j-2685

MEDIUMFix: nodejs/undici@2991627

GHSA-4qv8-2p9j-2685 is a medium-severity (CVSS 5.9) CWE-770 vulnerability in undici. A fix is available for undici — see the affected versions and patch details below.

Also known asCVE-2026-109924
Published
Updated
Affected
3 pkgs
Patched
3 / 3
Exploits
None indexed
Exploitation data as of Dec 2, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

Exploitation Status

No confirmed exploitation observed yet

  • CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.

Exploitation and automatability from CISA’s SSVC triage for GHSA-4qv8-2p9j-2685.

EPSS Exploitation Probability

via FIRST.org ↗
0.3%probability of exploitation in next 30 days
Lower Risk0.00%
Lower risk than most CVEs27th percentile — riskier than 27% of all scored CVEsHighest risk
0.00%0.27%0.55%0.82%0.3%0.3%0.3%Nov 26Dec 26Dec 26

Probability of exploitation in the next 30 days, from FIRST.org EPSS.

How urgent is this, really

Where this sits among everything scored

Real-World Exposure

3 pkgs affected

How broadly this vulnerability is actually deployed: weekly install volume shows current usage, and reverse-dependency count shows how many other packages break if it stays unpatched.

10Kother npm packages depend on this — each one inherits the vulnerability until it's patched upstream
undicinpm
340.4Mdownloads / week

Description

undici is an HTTP client library for Node.js. In versions 6.5.0 through 6.29.0, 7.0.0 through 7.30.0, and 8.0.0 through 8.12.1, its EventSource client can be driven to exhaust process memory by a malicious or compromised Server-Sent Events peer. By sending millions of tiny completed data fields with no blank event separator, or a single unfinished line split across many chunks, the parser retains a growing amount of per-field and per-chunk state that the byte-based maxEventSize and maxResponseSize limits do not bound, and because maxResponseSize is enforced on the compressed body before decompression, a small compressed response can expand into enough retained memory to terminate the process. An application only needs to maintain an EventSource connection to an untrusted peer, which controls only the response, and availability is the only impact. The issue is fixed in undici 6.29.1, 7.30.1, and 8.12.2, which bound the retained parser state independently of the byte limits, and users should upgrade to one of those versions or later. There is no workaround.

Affected Packages

3 total 3 fixed
EcosystemPackageVulnerable rangeFix
📦npmundici≥ 6.5.0&&< 6.29.16.29.1npm install undici@6.29.1
📦npmundici≥ 7.0.0&&< 7.30.17.30.1npm install undici@7.30.1
📦npmundici≥ 8.0.0&&< 8.12.28.12.2npm install undici@8.12.2

Affected Products

1 product · 3 configurations
Application
undicinodejs
≥ 8.0.0 && < 8.12.2
range

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for undici, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    Update undici to 6.29.1 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-4qv8-2p9j-2685 is resolved across your whole dependency graph.

  3. Workarounds

    Cap what an attacker can consume: apply request size, rate and timeout limits in front of the affected component, and run it with memory and CPU limits so exhaustion degrades one worker rather than the whole service.

Fixing This On Your OS

If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.

Red HatModerate

This vulnerability is rated Moderate rather than Important because exploitation requires a Node.js client application to actively connect to an untrusted or compromised Server-Sent Events endpoint. In standard Red Hat product deployments, applications typically consume trusted, internal network services rather than…

ProductFixed inAdvisory
Red Hat Developer Hub 1.10rhdh/red-hat-developer-hub-backstage-plugin-lightspeed-backend:1794320752RHSA-2026:97802
Red Hat Developer Hub 1.10rhdh/rhdh-hub-rhel9:1794341043RHSA-2026:99044
Red Hat Hardened Imagesnodejs26-main-11.20.0-1.26.11.1.0.4.hum1RHSA-2026:84657
Red Hat Hardened Imagesnodejs24-main-11.19.0-1.24.21.0.1.5.hum1RHSA-2026:84706
Red Hat Hardened Imagesnodejs26-main-11.20.0-1.26.12.1.0.1.hum1RHSA-2026:87703
Red Hat Trusted Artifact Signer 1.5rhtas/rhtas-console-ui-rhel9:1793114810RHSA-2026:95124

Frequently Asked Questions

### Impact undici's `EventSource` client can be driven to exhaust process memory by a malicious or compromised Server-Sent Events peer. By sending millions of tiny completed `data:` fields with no blank event separator, or a single unfinished line split across many chunks, the parser retains a growing amount of per-field and per-chunk state. The byte-based `maxEventSize` and `maxResponseSize` limits do not bound that retained state, and `maxResponseSize` is enforced on the compressed body before decompression, so a small compressed response can expand into enough retained memory to terminate
O3 Security · Impact-Aware SCA

Is GHSA-4qv8-2p9j-2685 in your dependencies?

Find it across npm, including transitive dependencies.

undici vulnerable to Denial of Service via unbounded…