Security mailing lists by PureSourceCode

CVE-2026-1526

HIGH 7.5CVSS 3.1

Undici has Unbounded Memory Consumption in WebSocket permessage-deflate Decompression

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.

Published
12 Mar 2026
Last modified
10 Sep 2026
Assigned by
ce714d77-add3-4f53-aff5-83d477b104bb
NVD status
Modified
Weakness
CWE-409CWE-770
Also known as
GHSA-vrm6-8vpv-qv8q
Sources
NVDJSONOSV GHSA-vrm6-8vpv-qv8qJSON

Scores

SourceScored byVersionScoreVector / decision
NVD ce714d77-add3-4f53-aff5-83d477b104bb (Secondary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD 0b0ca135-0b70-47e7-9f44-1890c2a1c46c (Secondary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
OSV GitHub CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD nodejs undici
cpe:2.3:a:nodejs:undici:*:*:*:*:*:node.js:*:*
< 6.24.0 6.24.0
NVD nodejs undici
cpe:2.3:a:nodejs:undici:*:*:*:*:*:node.js:*:*
>= 7.0.0, < 7.24.0 7.24.0
OSV npm undici < 6.24.0 6.24.0
OSV npm undici >= 7.0.0, < 7.24.0 7.24.0

References

History

  • 25 Nov 2026 21:01 UTC · NVD: first stored (published 12 Mar 2026)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 13 Mar 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.