CVE-2026-97152
Awaiting Analysis Awaiting Analysis - Queue

WebSocket Buffer Overflow in Nanomsg

Vulnerability report for CVE-2026-97152, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-09-24

Last updated on: 2026-09-24

Assigner: MITRE

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-09-24
Last Modified
2026-09-24
Generated
2026-10-14
AI Q&A
2026-09-24
EPSS Evaluated
2026-10-13
NVD
EUVD

Affected Vendors & Products

Showing 3 associated CPEs
Vendor Product Version / Range
nanomsg nanomsg 1.2.3
nanomsg nanomsg 1.1.5
nanomsg nanomsg From 0.5-beta (inc) to 1.2.3 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-122 A heap overflow condition is a buffer overflow, where the buffer that can be overwritten is allocated in the heap portion of memory, generally meaning that the buffer was allocated using a routine such as malloc().

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

CVE-2026-97152 is a remotely exploitable buffer overflow in the WebSocket transport of Nanomsg versions 0.5-beta through 1.x before 1.2.3. The vulnerability occurs due to an unchecked copy of the Sec-WebSocket-Version header during the WebSocket handshake, which can lead to memory corruption.

Detection Guidance

Check if your system is running a vulnerable version of nanomsg (0.5-beta through 1.x before 1.2.3). Use commands like 'nanomsg --version' or inspect package managers for installed versions. Monitor network traffic for WebSocket handshake anomalies or unexpected buffer overflow patterns during connections.

Impact Analysis

This vulnerability could allow an attacker to execute arbitrary code or cause a denial of service by sending a maliciously crafted WebSocket handshake request. It affects systems using vulnerable Nanomsg versions for communication, potentially leading to unauthorized access or system crashes.

Compliance Impact

The vulnerability involves a remotely exploitable buffer overflow in the WebSocket transport of Nanomsg versions 0.5-beta through 1.x before 1.2.3, due to an unchecked copy of the Sec-WebSocket-Version header. This could potentially allow unauthorized access or data exfiltration, which may impact compliance with standards like GDPR or HIPAA if sensitive data is compromised.

Mitigation Strategies

Upgrade nanomsg to version 1.2.3 or later immediately. Apply patches from pull request #1130 if upgrading is not immediately possible. Disable WebSocket transport if unused to reduce attack surface.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-97152. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart