CVE-2026-1526
JSON

7.5high

undici is vulnerable to Unbounded Memory Consumption in undici WebSocket permessage-deflate Decompression

Severity
7.5high CVSS:3.1 by openjs
Exploit likelihood
1.28% (higher than 70% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
openjs
Also known as
GHSA-vrm6-8vpv-qv8q

Description

The undici WebSocket client is vulnerable to a denial-of-service attack via unbounded memory consumption during permessage-deflate decompression. When a WebSocket connection negotiates the permessage-deflate extension, the client decompresses incoming compressed frames without enforcing any limit on the decompressed data size. A malicious WebSocket server can send a small compressed frame (a "decompression bomb") that expands to an extremely large size in memory, causing the Node.js process to exhaust available memory and crash or become unresponsive. The vulnerability exists in the PerMessageDeflate.decompress() method, which accumulates all decompressed chunks in memory and concatenates them into a single Buffer without checking whether the total size exceeds a safe threshold.

Affected

Product or packageVersionsReported by
undici< 6.24.0; 7.0.0 < 7.24.0
Not affected: 6.24.0: 7.24.0
CVE List
cryostat/cryostat-openshift-console-plugin-rhel9Not specified
Not affected: from 4.2.0-9 before *
CVE List
cryostat/cryostat-rhel9Not specified
Not affected: from 4.2.0-9 before *
CVE List
nodejs22Not specified
Not affected: from 1:22.22.2-1.el10_1 before *, from 1:22.22.2-2.el10_0 before *
CVE List
nodejs24Not specified
Not affected: from 1:24.14.1-2.el10_1 before *
CVE List
nodejs:22Not specified
Not affected: from 8100020260331102257.6d880403 before *, from 9070020260401095228.rhel9 before *, from 9060020260409121057.rhel9 before *
CVE List
nodejs:24Not specified
Not affected: from 8100020260408131901.6d880403 before *, from 9070020260402152654.rhel9 before *
CVE List
cluster-observability-operator/logging-console-plugin-pf4-rhel9Not specified
Not affected: from 1782839279 before *
CVE List
cluster-observability-operator/logging-console-plugin-pf5-rhel9Not specified
Not affected: from 1782840539 before *
CVE List
cluster-observability-operator/troubleshooting-panel-console-plugin-pf6-rhel9Not specified
Not affected: from 1782839996 before *
CVE List
rhdh/rhdh-hub-rhel9Not specified
Not affected: from 1776784286 before *, from 1777903262 before *
CVE List
rhoai/odh-dashboard-rhel8Not specified
Not affected: from 1774282136 before *
CVE List

All scores

openjs7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
redhat-SADP7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
GitHub7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-409CWE-770

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

What each source says

CVE List

The undici WebSocket client is vulnerable to a denial-of-service attack via unbounded memory consumption during permessage-deflate decompression. When a WebSocket connection negotiates the permessage-deflate extension, the client decompresses incoming compressed frames without enforcing any limit on the decompressed data size. A malicious WebSocket server can send a small compressed frame (a "decompression bomb") that expands to an extremely large size in memory, causing the Node.js process to exhaust available memory and crash or become unresponsive. The vulnerability exists in the PerMessageDeflate.decompress() method, which accumulates all decompressed chunks in memory and concatenates them into a single Buffer without checking whether the total size exceeds a safe threshold.

GitHub Advisory Database

Description

The undici WebSocket client is vulnerable to a denial-of-service attack via unbounded memory consumption during permessage-deflate decompression. When a WebSocket connection negotiates the permessage-deflate extension, the client decompresses incoming compressed frames without enforcing any limit on the decompressed data size. A malicious WebSocket server can send a small compressed frame (a "decompression bomb") that expands to an extremely large size in memory, causing the Node.js process to exhaust available memory and crash or become unresponsive.

The vulnerability exists in the PerMessageDeflate.decompress() method, which accumulates all decompressed chunks in memory and concatenates them into a single Buffer without checking whether the total size exceeds a safe threshold.

Impact

  • Remote denial of service against any Node.js application using undici's WebSocket client
  • A single compressed WebSocket frame of ~6 MB can decompress to ~1 GB or more
  • Memory exhaustion occurs in native/external memory, bypassing V8 heap limits
  • No application-level mitigation is possible as decompression occurs before message delivery
Patches

Users should upgrade to fixed versions.

Workarounds

No workaround are possible.

NVD (es)

El cliente WebSocket undici es vulnerable a un ataque de denegación de servicio a través de un consumo de memoria ilimitado durante la descompresión permessage-deflate. Cuando una conexión WebSocket negocia la extensión permessage-deflate, el cliente descomprime las tramas comprimidas entrantes sin imponer ningún límite en el tamaño de los datos descomprimidos. Un servidor WebSocket malicioso puede enviar una pequeña trama comprimida (una 'bomba de descompresión') que se expande a un tamaño extremadamente grande en memoria, causando que el proceso de Node.js agote la memoria disponible y colapse o deje de responder. La vulnerabilidad existe en el método PerMessageDeflate.decompress(), que acumula todos los fragmentos descomprimidos en memoria y los concatena en un único Buffer sin verificar si el tamaño total excede un umbral seguro.

References

https://github.com/nodejs/undici/security/advisories/GHSA-vrm6-8vpv-qv8qvendor-advisory, web
https://hackerone.com/reports/3481206permissions-required, web
https://cna.openjsf.org/security-advisories.htmlvendor-advisory, web
https://datatracker.ietf.org/doc/html/rfc7692technical-description, web
https://access.redhat.com/security/cve/CVE-2026-1526vdb-entry
https://bugzilla.redhat.com/show_bug.cgi?id=2447142issue-tracking
https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-1526.json
https://access.redhat.com/errata/RHSA-2026:17789vendor-advisory
https://access.redhat.com/errata/RHSA-2026:7310vendor-advisory
https://access.redhat.com/errata/RHSA-2026:7080vendor-advisory
https://access.redhat.com/errata/RHSA-2026:7675vendor-advisory
https://access.redhat.com/errata/RHSA-2026:7123vendor-advisory

Sources

SourceRecordLicence
CVE ListCVE-2026-1526 changed 2026-09-14CVE Terms of Use
GitHub Advisory DatabaseGHSA-vrm6-8vpv-qv8q changed 2026-09-10CC-BY-4.0
NVDCVE-2026-1526 changed 2026-09-04Public domain