Skip to main content

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)

0
Medium
Published: 09/24/2026 (09/24/2026, 04:18:00 UTC)
Source: GCVE Database
Product: nanomsg

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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vuln. Confidentiality
None
Vuln. Integrity
High
Vuln. Availability
High
Subsq. Confidentiality
High
Subsq. Integrity
High
Subsq. Availability
High
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

Affected software

Ubuntu:16.04:LTSmore threats →ghsa
nanomsg
pkg:deb/ubuntu/nanomsg?arch=source&distro=xenial
Affected versions
=0.5~beta+dfsg-1
Ubuntu:18.04:LTSmore threats →ghsa
nanomsg
pkg:deb/ubuntu/nanomsg?arch=source&distro=bionic
Affected versions
=0.8~beta+dfsg-1
Ubuntu:20.04:LTSmore threats →ghsa
nanomsg
pkg:deb/ubuntu/nanomsg?arch=source&distro=focal
Affected versions
=1.1.5+dfsg-1
Ubuntu:22.04:LTSmore threats →ghsa
nanomsg
pkg:deb/ubuntu/nanomsg?arch=source&distro=jammy
Affected versions
=1.1.5+dfsg-1
Ubuntu:24.04:LTSmore threats →ghsa
nanomsg
pkg:deb/ubuntu/nanomsg?arch=source&distro=noble
Affected versions
=1.1.5+dfsg-1.1
Ubuntu:26.10more threats →ghsa
nanomsg
pkg:deb/ubuntu/nanomsg?arch=source&distro=stonking
Affected versions
=1.1.5+dfsg-1.2
Ubuntu:26.04:LTSmore threats →ghsa
nanomsg
pkg:deb/ubuntu/nanomsg?arch=source&distro=resolute
Affected versions
=1.1.5+dfsg-1.1build2=1.1.5+dfsg-1.2

Run 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

AILast updated: 10/17/2026, 22:55:45 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses