Skip to main content
VulnerabilityPublished

CVE-2026-140009: websockets ws · Uncontrolled Resource Consumption

Affects websockets wsSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 7.5 High · fixed in 8.23.0 : patch websockets ws soon.

Data as of 30 Nov 2026, 22:02 UTC

CVSS 3.1 base score
7.5High
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (GitHub_M)CVSS 3.17.5
Patch
Available – fixed in 8.23.0, 7.5.14, 6.2.7 +1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 30 Nov 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Nov 2026.

What to do

Upgrade websockets ws to 8.23.0, 7.5.14, 6.2.7 or 5.2.8.

Affected software

ProductAffectedFixed in
websocketswsAffected
  • >=8.0.0 <8.23.0
Fixed in
  • 8.23.0
websocketswsAffected
  • >=7.0.0 <7.5.14
Fixed in
  • 7.5.14
websocketswsAffected
  • >=6.0.0 <6.2.7
Fixed in
  • 6.2.7
websocketswsAffected
  • <5.2.8
Fixed in
  • 5.2.8

AI-suggested

Upgrade to ws versions 5.2.8, 6.2.7, 7.5.14, or 8.23.0 where this issue is fixed. Alternatively, disable the autoPong feature if available or implement rate limiting combined with heartbeat mechanisms to mitigate the risk of resource exhaustion.

Description

The ws library for Node.js versions prior to 5.2.8, 6.2.7, 7.5.14, and 8.23.0 contains a vulnerability where a malicious WebSocket peer can cause uncontrolled resource consumption by sending Ping frames while stopping reads. This triggers the generation and buffering of automatic Pong responses without limits, potentially exhausting process memory and terminating the application. The issue is fixed in the specified versions.

References

Community reviews

Loading reviews…