Nanomsg versions 0.5-beta through 1.x before 1.2.3 has a remotely exploitable buffer overflow in the WebSocket transport, due to an unchecked copy… (CVE-2026-97152)
Description
Nanomsg versions from 0.5-beta through all 1.x versions before 1.2.3 contain a remotely exploitable buffer overflow vulnerability in the WebSocket transport. This issue arises from an unchecked copy operation of the Sec-WebSocket-Version header using snprintf. The vulnerability allows remote attackers to potentially cause a buffer overflow, which could lead to denial of service or other impacts.
CVSS v4.0
Affected software
pkg:deb/ubuntu/nanomsg?arch=source&distro=xenialpkg:deb/ubuntu/nanomsg?arch=source&distro=bionicpkg:deb/ubuntu/nanomsg?arch=source&distro=focalpkg:deb/ubuntu/nanomsg?arch=source&distro=jammypkg:deb/ubuntu/nanomsg?arch=source&distro=noblepkg:deb/ubuntu/nanomsg?arch=source&distro=stonkingpkg:deb/ubuntu/nanomsg?arch=source&distro=resoluteRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Nanomsg versions 0.5-beta through 1.x prior to 1.2.3 have a buffer overflow vulnerability in the WebSocket transport implementation. The flaw is due to an unchecked copy of the Sec-WebSocket-Version header via snprintf, which can be exploited remotely without user interaction. The vulnerability is identified as CVE-2026-97152 and has a CVSS 4.0 vector indicating network attack vector, low attack complexity, no privileges required, no user interaction, and high impacts on confidentiality, integrity, availability, scope, and security requirements.
Potential Impact
The vulnerability allows remote attackers to trigger a buffer overflow in the WebSocket transport of affected nanomsg versions. This can lead to high impact on confidentiality, integrity, and availability of the affected system. There is no indication of known exploits in the wild. The attack requires no user interaction and no privileges, making it relatively easy to exploit remotely.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since the vulnerability affects versions before 1.2.3, upgrading to version 1.2.3 or later is likely the intended remediation. Until an official fix is confirmed, avoid exposing the WebSocket transport to untrusted networks.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- UBUNTU-CVE-2026-97152
- Osv Schema Version
- 1.7.0
- Ecosystems
- ["Ubuntu:16.04:LTS","Ubuntu:18.04:LTS","Ubuntu:20.04:LTS","Ubuntu:22.04:LTS","Ubuntu:24.04:LTS","Ubuntu:26.10","Ubuntu:26.04:LTS"]
- Cvss Version
- 4.0
Threat ID: 6ad3f50b2cdf04f656657c0d
Added to database: 10/17/2026, 22:22:03 UTC
Last enriched: 10/17/2026, 22:55:45 UTC
Last updated: 10/17/2026, 22:55:45 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.