7.5High

CVE-2026-12151undici WebSocket client vulnerable to denial of service via fragment count bypass

undici undici; Red Hat Cryostat 4 on RHEL 9; Red Hat Red Hat AMQ Broker 7.13.6; Red Hat Red Hat AMQ Broker 7.14.1 Published: (4 months ago)

Description

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.

Weakness (CWE): CWE-400CWE-770

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
cluster observability operator 1.5 —
cryostat 4 —
nodejs undici 6.17.0 – < 6.27.0
openshift 4.16 —
openshift 4.17 —
openshift ai 2.25 —
openshift ai 3.4 —
openshift data foundation 4.18 —
openshift data foundation 4.19 —
openshift data foundation 4.20 —
openshift devspaces 3.29 —
openshift devspaces 3.30 —
Red Hat Cluster Observability Operator 1.5.0 all versions
Red Hat Cryostat 4 on RHEL 9 all versions
Red Hat Red Hat AMQ Broker 7.13.6 —
Red Hat Red Hat AMQ Broker 7.14.1 —
Red Hat Red Hat Developer Hub 1.10 all versions
Red Hat Red Hat Developer Hub 1.9 all versions
Red Hat Red Hat Enterprise Linux 10 all versions
Red Hat Red Hat Enterprise Linux 10.0 Extended Update Support all versions
Red Hat Red Hat Enterprise Linux 8 all versions
Red Hat Red Hat Enterprise Linux 9 all versions
Red Hat Red Hat Enterprise Linux 9.6 Extended Update Support all versions
Red Hat Red Hat Hardened Images all versions
Red Hat Red Hat OpenShift AI 2.25 all versions
Red Hat Red Hat OpenShift AI 3.4 all versions
Red Hat Red Hat OpenShift Container Platform 4.16 all versions
Red Hat Red Hat OpenShift Container Platform 4.17 all versions
Red Hat Red Hat Openshift Data Foundation 4.18 all versions
Red Hat Red Hat Openshift Data Foundation 4.19 all versions
Red Hat Red Hat Openshift Data Foundation 4.20 all versions
rhdh 1.10 —
rhdh 1.9 —
undici undici < 6.26.0, fixed 6.26.0, 7.0.0 – < 7.28.0, fixed 7.28.0, 8.0.0 – < 8.5.0, fixed 8.5.0

References and patches

CPE matches (NVD) (3)

  • cpe:2.3:a:nodejs:undici:*:*:*:*:*:node.js:*:* ≥ 6.17.0 < 6.27.0
  • cpe:2.3:a:nodejs:undici:*:*:*:*:*:node.js:*:* ≥ 7.0.0 < 7.28.0
  • cpe:2.3:a:nodejs:undici:*:*:*:*:*:node.js:*:* ≥ 8.0.0 < 8.5.0