CVE-2026-140009: ws: Memory exhaustion DoS via unbounded automatic pong responses
A malicious peer can flood the other peer with Ping frames while stopping reads, forcing it to buffer Pong frames that are automatically sent in response until memory is exhausted, leading to process termination due to OOM.
References
- github.com/advisories/GHSA-37g9-w4hg-h9qr
- github.com/websockets/ws/commit/560e071478550f1227271b09993caff97753f1a1
- github.com/websockets/ws/commit/718c33c8e1ca09a01403eaddea9119b02a63ccfe
- github.com/websockets/ws/commit/8a10a6ad25b04b6a02c56d7237792b7e4ade12b7
- github.com/websockets/ws/commit/ace7248f685b10a87eff882e66c5b37fbee03d63
- github.com/websockets/ws/releases/tag/5.2.8
- github.com/websockets/ws/releases/tag/6.2.7
- github.com/websockets/ws/releases/tag/7.5.14
- github.com/websockets/ws/releases/tag/8.23.0
- github.com/websockets/ws/security/advisories/GHSA-37g9-w4hg-h9qr
- nvd.nist.gov/vuln/detail/CVE-2026-140009
Code Behaviors & Features
Detect and mitigate CVE-2026-140009 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →