CVE-2026-97152 Memory corruption in Nanomsg

High 8.6 Published Updated

Remote attackers can trigger a buffer overflow in the WebSocket transport via a crafted header, potentially leading to code execution or crashes.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-97152?

CVE-2026-97152 is a high-severity memory corruption vulnerability in Nanomsg, published on 24 Sep 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official 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.

Weakness: CWE-122

Which versions are affected by CVE-2026-97152?

How do I fix CVE-2026-97152?

No fix has been published for CVE-2026-97152 yet. Limit exposure of the affected software until one is available.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2026-97152 being exploited?

There is no known exploitation of CVE-2026-97152 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2026-97152, GHSA-qf87-675j-h456, UBUNTU-CVE-2026-97152.

Is CVE-2026-97152 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free