cve.bz

CVE-2026-97152 nanomsg nanomsg: Heap-based Buffer Overflow

8.6 highEPSS 0.3%

High (8.6) in nanomsg nanomsg. EPSS 0.3% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 4.0

8.6 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
EPSS
0.3% (unchanged from 0.3% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 25th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-09-24. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-122 Heap-based Buffer Overflow
Published
Modified
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Ask an AI about this CVE

Show the promptExplain CVE-2026-97152 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-97152?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-97152?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-97152 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Nanomsgfrom 0.5.0 before 1.2.3

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14nanomsgno fix listedDEBIAN-CVE-2026-97152
Ubuntu16.04:LTS, 18.04:LTS, 20.04:LTS and 4 morenanomsgno fix listedUBUNTU-CVE-2026-97152

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Red Hat

Red Hat rates this Critical.

Red Hat's statement

This flaw is rated as Critical impact because an unauthenticated remote adversary can trigger memory corruption to execute arbitrary code or crash the application without privileges or user interaction. Nanomsg is not included in supported Red Hat Enterprise Linux offerings and is packaged exclusively for community repositories such as Fedora and EPEL. Exposure is restricted to environments deploying custom applications that link against the library and expose WebSocket listener endpoints to untrusted network traffic.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-97152.

Attack patterns (CAPEC)

  • CAPEC-92 Forced Integer Overflow Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON