CVE-2026-97152

Remote Buffer Overflow in Nanomsg WebSocket Transport

Published Sep 24, 2026 CVSS 4.0 · 8.6 High EPSS < 1% KEV · Not listed
Description
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 of the Sec-WebSocket-Version header, through snprintf.

Remediation

Vendor Solution

Upgrade to nanomsg 1.2.3 or higher, or use NNG which is hardened for hostile networks.


Vendor Workaround

Disable the websocket transport, or ensure that it is only available to trusted peers.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Nanomsg
Nanomsg nanomsg
Vendors & Products Nanomsg
Nanomsg nanomsg
Type Values Removed Values Added
Title Remote Buffer Overflow in Nanomsg WebSocket Transport
Type Values Removed Values Added
Description 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 of the Sec-WebSocket-Version header, through snprintf.
Weaknesses CWE-122
References
Metrics cvssV4_0

{'score': 8.6, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:H/SC:H/SI:H/SA:H'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Sep 24, 2026, 12:47 PM
Reserved
Sep 24, 2026, 3:17 AM
Status
Awaiting Analysis
Published
Sep 24, 2026, 4:18 AM
Modified
Sep 24, 2026, 9:04 PM