home / blog
2026-11-30 · high
CVE-2026-97152: Critical buffer overflow in WebSocket transport
Nanomsg vulnerable to remote buffer overflow in WebSocket. Exploits published. Patch in version 1.2.3.

CVE-2026-97152 affects Nanomsg libraries from version 0.5-beta up to 1.x before 1.2.3, allowing a remote buffer overflow in the WebSocket transport due to an unchecked copy of the Sec-WebSocket-Version header. An attacker can exploit this vulnerability to execute arbitrary code or cause a denial of service.
The severity is classified as high with a CVSS score of 8.6. The National Vulnerability Database has confirmed the vulnerability and functional exploits and proof of concept are already available on GitHub. The risk is significant for any infrastructure using Nanomsg for WebSocket communications.
It is crucial to immediately update to Nanomsg version 1.2.3 or later. Verify the infrastructure for vulnerable installations. Monitor network activity for suspicious WebSocket-related traffic. Consider implementing additional controls such as IP whitelisting for WebSocket connections.
At a glance
- What
- Buffer overflow in WebSocket transport due to unchecked copy of Sec-WebSocket-Version header
- Severity
- CVSS 8.6 (high)
- Affected versions
- 0.5-beta through 1.x before 1.2.3
- Fix
- Update to version 1.2.3 or later
- Status
- Confirmed in NVD, exploits published on GitHub
- Action
- Apply patch immediately, verify infrastructure
Sources: NVD, CVE-2026-97152