Security mailing lists by PureSourceCode

CVE-2026-140009

HIGH 7.5CVSS 3.1

ws: Memory exhaustion DoS via unbounded automatic pong responses

ws is an open source WebSocket client and server for Node.js. Prior to 5.2.8, 6.2.7, 7.5.14, and 8.23.0, a malicious WebSocket peer can send Ping frames while stopping reads, causing ws to generate and buffer automatic Pong responses without a pending-response bound. The queued Pong frames can exhaust process memory and terminate the application; disabling autoPong where available or combining rate limiting with heartbeats mitigates the issue. This issue is fixed in versions 5.2.8, 6.2.7, 7.5.14, and 8.23.0.

Published
30 Nov 2026
Last modified
1 Dec 2026
Assigned by
security-advisories@github.com
NVD status
Received
Weakness
CWE-400CWE-770
Also known as
GHSA-37g9-w4hg-h9qr
Sources
NVDJSONCVE ListJSONOSV GHSA-37g9-w4hg-h9qrJSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (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
CVE List GitHub_M 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
CVE List CISA-ADP SSVC Exploitation: none; Automatable: yes; Technical Impact: partial

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
CVE List websockets ws = < 5.2.8; = >= 6.0.0, < 6.2.7; = >= 7.0.0, < 7.5.14; = >= 8.0.0, < 8.23.0
OSV npm ws < 5.2.8 5.2.8
OSV npm ws >= 6.0.0, < 6.2.7 6.2.7
OSV npm ws >= 7.0.0, < 7.5.14 7.5.14
OSV npm ws >= 8.0.0, < 8.23.0 8.23.0

References

History

  • 1 Dec 2026 18:39 UTC · OSV: first stored (published 1 Dec 2026)
  • 1 Dec 2026 14:27 UTC · NVD: updated (other details)
  • 1 Dec 2026 14:04 UTC · CVE List: updated (other details)
  • 30 Nov 2026 22:30 UTC · NVD: first stored (published 30 Nov 2026)
  • 30 Nov 2026 21:58 UTC · CVE List: first stored (published 30 Nov 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.