cve.bz

CVE-2026-12151 nodejs undici: Uncontrolled Resource Consumption

7.5 highEPSS 0.8%Fix available

High (7.5) in nodejs undici. EPSS 0.8% estimated probability of exploitation activity in the next 30 days. Fixed in undici 6.27.0, 7.28.0, 8.5.0.

On this page
Impact: The undici WebSocket client enforces maxPayloadSize on the cumulative byte count of fragments in a message but does not enforce a limit on the number of fragments. A malicious WebSocket server can stream many small or empty continuation frames that each pass per-frame and cumulative-size validation, collectively causing unbounded memory growth in the client process. The result is memory exhaustion and a denial of service. Affected applications are those using the undici WebSocket client (new WebSocket(...)) or the WebSocketStream API that can be induced to connect to an attacker-controlled or compromised WebSocket endpoint. All releases starting at undici 6.17.0 are affected. Patches: Upgrade to undici >= 6.26.0, >= 7.28.0, or >= 8.5.0. Workarounds: No workaround is available. The fix must be applied through an upgrade.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
0.8% (unchanged from 0.8% a week ago; 0.8% 30 days ago) estimated probability of exploitation activity in the next 30 days; 57th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2026-06-17. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-400 Uncontrolled Resource Consumption
CWE-770 Allocation of Resources Without Limits or Throttling
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-12151 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-12151?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-12151?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-12151 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
undicibefore 6.26.0
undicifrom 7.0.0 before 7.28.0
undicifrom 8.0.0 before 8.5.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-vxpw-j846-p89qnpmundici<6.27.06.27.0
GHSA-vxpw-j846-p89qnpmundici>=7.0.0 <7.28.07.28.0
GHSA-vxpw-j846-p89qnpmundici>=8.0.0 <8.5.08.5.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13node-undicino fix listedDEBIAN-CVE-2026-12151
Debian14node-undici8.5.0+dfsg+~cs3.2.0-1DEBIAN-CVE-2026-12151
Ubuntu24.04:LTS, 25.10, 26.04:LTS and 1 morenode-undicino fix listedUBUNTU-CVE-2026-12151
Red Hatenterprise_linux:8::appstreamnodejs, nodejs-docs, nodejs-libs and 5 more1:22.23.1-1.module+el8.10.0+24500+8eb51621RHSA-2026:41947
Red Hatenterprise_linux:8::appstreamnodejs, nodejs-docs, nodejs-libs and 5 more1:24.18.0-1.module+el8.10.0+24481+7a71fac8RHSA-2026:39868
Red Hatenterprise_linux:8::appstreamnodejs-nodemon0:3.0.1-1.module+el8.10.0+24500+8eb51621RHSA-2026:41947
Red Hatenterprise_linux:8::appstreamnodejs-nodemon0:3.0.3-1.module+el8.10.0+24190+49a46c75RHSA-2026:39868
Red Hatenterprise_linux:8::appstreamnodejs-packaging, nodejs-packaging-bundler0:2021.06-6.module+el8.10.0+24190+49a46c75RHSA-2026:39868
Red Hatenterprise_linux:8::appstreamnodejs-packaging, nodejs-packaging-bundler0:2021.06-6.module+el8.10.0+24500+8eb51621RHSA-2026:41947
Red Hatenterprise_linux:8::appstreamnpm1:10.9.8-1.22.23.1.1.module+el8.10.0+24500+8eb51621RHSA-2026:41947
Red Hatenterprise_linux:8::appstreamnpm1:11.16.0-1.24.18.0.1.module+el8.10.0+24481+7a71fac8RHSA-2026:39868
Red Hatenterprise_linux:8::appstreamv8-12.4-devel3:12.4.254.21-1.22.23.1.1.module+el8.10.0+24500+8eb51621RHSA-2026:41947
Red Hatenterprise_linux:8::appstreamv8-13.6-devel3:13.6.233.17-1.24.18.0.1.module+el8.10.0+24481+7a71fac8RHSA-2026:39868
Red Hatenterprise_linux:9::appstreamnodejs, nodejs-docs, nodejs-libs and 5 more1:22.23.1-1.module+el9.8.0+24457+996af7aaRHSA-2026:35892
Red Hatenterprise_linux:9::appstreamnodejs, nodejs-docs, nodejs-libs and 5 more1:24.18.0-1.module+el9.8.0+24456+b244c3b4RHSA-2026:35891
24 more for Red Hat in the JSON and on Red Hat's page.
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 5 morenodejs1818.20.8-150400.9.39.1SUSE-SU-2026:4261-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise Server 15 SP4-LTSS and 1 morenodejs1616.20.2-150400.3.42.1SUSE-SU-2026:4355-1
SUSELinux Enterprise High Performance Computing 15 SP5-ESPOS, Linux Enterprise High Performance Computing 15 SP5-LTSS, Linux Enterprise Server 15 SP5-LTSS and 1 morenodejs2020.20.2-150500.11.30.1SUSE-SU-2026:3930-1
SUSELinux Enterprise Module for Web and Scripting 15 SP7nodejs2222.23.0-150700.3.12.1SUSE-SU-2026:2695-1
SUSELinux Enterprise Module for Web and Scripting 15 SP7nodejs2424.17.0-150700.15.11.1SUSE-SU-2026:2633-1
SUSELinux Enterprise Server 12 SP5-LTSS, Linux Enterprise Server LTSS Extended Security 12 SP5nodejs1818.20.8-8.44.1SUSE-SU-2026:4248-1
SUSELinux Enterprise Server 15 SP6-LTSS, Linux Enterprise Server for SAP Applications 15 SP6nodejs2020.20.2-150600.3.21.1SUSE-SU-2026:3929-1
SUSELinux Enterprise Server 15 SP6-LTSS, Linux Enterprise Server for SAP Applications 15 SP6nodejs2222.23.0-150600.13.18.1SUSE-SU-2026:2647-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0nodejs2222.23.0-160000.1.1SUSE-SU-2026:22368-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0nodejs2424.18.0-160000.1.1SUSE-SU-2026:22565-1
openSUSELeap 16.0nodejs2222.23.0-160000.1.1openSUSE-SU-2026:21058-1
openSUSELeap 16.0nodejs2424.18.0-160000.1.1openSUSE-SU-2026:21236-1
openSUSETumbleweednodejs2424.17.0-1.1openSUSE-SU-2026:11121-1
AlmaLinux8nodejs, nodejs-docs, nodejs-libs and 2 more1:22.23.1-1.module_el8.10.0+4231+1bf2f855ALSA-2026:41947
AlmaLinux8nodejs, nodejs-docs, nodejs-libs and 2 more1:24.18.0-1.module_el8.10.0+4228+2938bc94ALSA-2026:39868
AlmaLinux8nodejs-nodemon3.0.1-1.module_el8.10.0+3956+47c9ee9fALSA-2026:41947
AlmaLinux8nodejs-nodemon3.0.3-1.module_el8.10.0+4061+f8ceeab9ALSA-2026:39868
AlmaLinux8nodejs-packaging, nodejs-packaging-bundler2021.06-6.module_el8.10.0+4086+70facd4aALSA-2026:39868
AlmaLinux8nodejs-packaging, nodejs-packaging-bundler2021.06-6.module_el8.10.0+4158+e796f37fALSA-2026:41947
AlmaLinux8npm1:10.9.8-1.22.23.1.1.module_el8.10.0+4231+1bf2f855ALSA-2026:41947
AlmaLinux8npm1:11.16.0-1.24.18.0.1.module_el8.10.0+4228+2938bc94ALSA-2026:39868
AlmaLinux8v8-12.4-devel3:12.4.254.21-1.22.23.1.1.module_el8.10.0+4231+1bf2f855ALSA-2026:41947
AlmaLinux8v8-13.6-devel3:13.6.233.17-1.24.18.0.1.module_el8.10.0+4228+2938bc94ALSA-2026:39868
AlmaLinux9nodejs, nodejs-docs, nodejs-libs and 2 more1:22.23.1-1.module_el9.8.0+276+8b329b47ALSA-2026:35892
AlmaLinux9nodejs, nodejs-docs, nodejs-libs and 2 more1:24.18.0-1.module_el9.8.0+277+61fc613eALSA-2026:35891
11 more for AlmaLinux in the JSON.
Rocky Linux8nodejs1:24.18.0-1.module+el8.10.0+40252+a58646bcRLSA-2026:39868
Rocky Linux8nodejs-nodemon0:3.0.1-1.module+el8.10.0+1666+930e28e8RLSA-2026:41947
Rocky Linux8nodejs-nodemon0:3.0.1-1.module+el8.10.0+1667+4a788d89RLSA-2026:41947
Rocky Linux8nodejs-nodemon0:3.0.1-1.module+el8.10.0+1823+b5789597RLSA-2026:41947
Rocky Linux8nodejs-nodemon0:3.0.1-1.module+el8.10.0+1824+532140eeRLSA-2026:41947
Rocky Linux8nodejs-nodemon0:3.0.1-1.module+el8.10.0+1924+614dc87fRLSA-2026:41947
Rocky Linux8nodejs-nodemon0:3.0.1-1.module+el8.10.0+1935+d3cbe60fRLSA-2026:41947
Rocky Linux8nodejs-nodemon0:3.0.1-1.module+el8.10.0+1988+437f3d23RLSA-2026:41947
Rocky Linux8nodejs-nodemon0:3.0.1-1.module+el8.10.0+1989+e60144d9RLSA-2026:41947
Rocky Linux8nodejs-nodemon0:3.0.1-1.module+el8.9.0+1760+903d54b9RLSA-2026:41947
Rocky Linux8nodejs-nodemon0:3.0.3-1.module+el8.10.0+2084+ab509703RLSA-2026:39868
Rocky Linux8nodejs-packaging0:2021.06-6.module+el8.10.0+40048+6d99f608RLSA-2026:39868 RLSA-2026:41947
11 more for Rocky Linux in the JSON.
Azure Linux3nodejs24.18.1-1AZL-91191

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This Important denial of service flaw in the `undici` WebSocket client allows a remote attacker to cause unbounded memory growth. By sending numerous small or empty WebSocket frames, an unauthenticated attacker can exhaust system memory, leading to a denial of service in Red Hat products that use the affected client.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Cryostat 4 on RHEL 9cryostat/cryostat-grafana-dashboard-rhel9:4.2.0-13Fixed 2026-07-29RHSA-2026:48151
Red Hat AMQ Broker 7.13.6undiciFixed 2026-09-10RHSA-2026:66545
Red Hat AMQ Broker 7.14.1undiciFixed 2026-09-10RHSA-2026:66488
Red Hat Enterprise Linux 10nodejs24-1:24.18.0-1.el10_2Fixed 2026-07-06RHSA-2026:35841
Red Hat Enterprise Linux 10nodejs22-1:22.23.1-2.el10_2Fixed 2026-07-06RHSA-2026:35842
Red Hat Enterprise Linux 10.0 Extended Update Supportnodejs22-1:22.23.1-2.el10_0Fixed 2026-07-14RHSA-2026:39246
Red Hat Enterprise Linux 8nodejs:24-8100020260630152626.6d880403Fixed 2026-07-15RHSA-2026:39868
Red Hat Enterprise Linux 8nodejs:22-8100020260703140402.6d880403Fixed 2026-07-20RHSA-2026:41947
Red Hat Enterprise Linux 9nodejs:24-9080020260626074955.rhel9Fixed 2026-07-06RHSA-2026:35891
Red Hat Enterprise Linux 9nodejs:22-9080020260626075442.rhel9Fixed 2026-07-06RHSA-2026:35892
Cryostat 4cryostat-openshift-console-plugin-npmNot affected
Cryostat 4undiciNot affected
OpenShift Pipelinesopenshift-pipelines/pipelines-console-plugin-pf5-rhel9Affected
OpenShift Pipelinesopenshift-pipelines/pipelines-console-plugin-rhel8Affected
OpenShift Pipelinesopenshift-pipelines/pipelines-console-plugin-rhel9Affected
Red Hat Build of Podman Desktoprh-podman-desktop.gitAffected
Red Hat Hardened Imagesnodejs25Will not fix
Red Hat Hardened ImagesrustNot affected
Red Hat OpenShift AI (RHOAI)rhoai/odh-mod-arch-mlflow-rhel9Not affected
Red Hat OpenShift Container Platform 4openshift4/ose-agent-installer-ui-rhel9Not affected
106 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-12151.

Attack patterns (CAPEC)

  • CAPEC-147 XML Ping of the Death Likelihood: Low · Severity: Medium
  • CAPEC-227 Sustained Client Engagement
  • CAPEC-492 Regular Expression Exponential Blowup

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-770 (20).

References

Check your stackJSON