CVE-2026-1526

Source
https://cve.org/CVERecord?id=CVE-2026-1526
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-1526.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-1526
Aliases
Downstream
Related
Published
2026-03-12T21:16:23.933Z
Modified
2026-03-18T22:59:00.125533Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Git /

Affected ranges

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-1526.json"