| Name | CVE-2026-97152 |
| 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. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| Debian Bugs | 1148968 |
Vulnerable and fixed packages
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|
| nanomsg (PTS) | bookworm, trixie | 1.1.5+dfsg-1.1 | vulnerable |
| forky, sid | 1.1.5+dfsg-1.2 | vulnerable |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|
| nanomsg | source | (unstable) | (unfixed) | | | 1148968 |
Notes
[trixie] - nanomsg <no-dsa> (Minor issue)
[bookworm] - nanomsg <postponed> (Minor issue; ws:// listeners only, fortified build turns overflow into an abort)
https://github.com/nanomsg/nanomsg/pull/1130
Fixed by: https://github.com/nanomsg/nanomsg/commit/867c475cca52df0f705420dd7751da4ce5c2adfc (1.2.3)
Fixed by: https://github.com/nanomsg/nanomsg/commit/6dac4ea9bd0f8cd215925aefd7fdcc62714f67d7 (1.2.3)