Vulnerabilities

CVE-2026-12151

High 7.5 CVSS 3.1

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.

Description as published by the source, in English.

Key facts

Published
2026-06-17
Last modified
2026-09-11
Assigned by
ce714d77-add3-4f53-aff5-83d477b104bb
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Scored by
ce714d77-add3-4f53-aff5-83d477b104bb
Probability of exploitation
0.8 % higher than 53 % of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15
Fix available
Not registered in the sources

Affected products

Vendor Product Versions Status
Nodejs Undici ≥ 6.17.0, < 6.27.0 Affected
Nodejs Undici ≥ 7.0.0, < 7.28.0 Affected
Nodejs Undici ≥ 8.0.0, < 8.5.0 Affected

Weakness type

Attack techniques

Derived through the weakness type: CVE to CWE to CAPEC to ATT&CK. This shows which techniques the weakness class is historically used for. It does not assert that this vulnerability has been exploited that way.

  • T1498.001: Direct Network Flood impact
  • T1498.002: Reflection Amplification impact
  • T1499: Endpoint Denial of Service impact
  • T1499.001: OS Exhaustion Flood impact
  • T1499.002: Service Exhaustion Flood impact
  • T1499.003: Application Exhaustion Flood impact

References

Related at Berigo

Articles

Does this affect you?

A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.

Check your asset list Browse all vulnerabilities