🔐 CVE Alert

CVE-2026-1526

HIGH 7.5

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

CVSS Score
7.5
EPSS Score
0.0%
EPSS Percentile
0th

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.

CWE CWE-409
Vendor undici
Product undici
Published Mar 12, 2026
Last Updated Jul 15, 2026
Stay Ahead of the Next One

Get instant alerts for undici undici

Be the first to know when new high vulnerabilities affecting undici undici are published — delivered to Slack, Telegram or Discord.

Get Free Alerts → Free · No credit card · 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Affected Versions

undici / undici
< 6.24.0; 7.0.0 < 7.24.0

References

NVD ↗ CVE.org ↗ EPSS Data ↗
github.com: https://github.com/nodejs/undici/security/advisories/GHSA-vrm6-8vpv-qv8q hackerone.com: https://hackerone.com/reports/3481206 cna.openjsf.org: https://cna.openjsf.org/security-advisories.html datatracker.ietf.org: https://datatracker.ietf.org/doc/html/rfc7692 access.redhat.com: https://access.redhat.com/security/cve/CVE-2026-1526 bugzilla.redhat.com: https://bugzilla.redhat.com/show_bug.cgi?id=2447142 security.access.redhat.com: https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-1526.json access.redhat.com: https://access.redhat.com/errata/RHSA-2026:17789 access.redhat.com: https://access.redhat.com/errata/RHSA-2026:7310 access.redhat.com: https://access.redhat.com/errata/RHSA-2026:7080 access.redhat.com: https://access.redhat.com/errata/RHSA-2026:7675 access.redhat.com: https://access.redhat.com/errata/RHSA-2026:7123 access.redhat.com: https://access.redhat.com/errata/RHSA-2026:7670 access.redhat.com: https://access.redhat.com/errata/RHSA-2026:7983 access.redhat.com: https://access.redhat.com/errata/RHSA-2026:7302 access.redhat.com: https://access.redhat.com/errata/RHSA-2026:7350 access.redhat.com: https://access.redhat.com/errata/RHSA-2026:34342 access.redhat.com: https://access.redhat.com/errata/RHSA-2026:9742 access.redhat.com: https://access.redhat.com/errata/RHSA-2026:13826 access.redhat.com: https://access.redhat.com/errata/RHSA-2026:5807 access.redhat.com: https://access.redhat.com/errata/RHSA-2026:21772 access.redhat.com: https://access.redhat.com/errata/RHSA-2026:21931

Credits

Matteo Collina Ulises Gascón HO9