CVE-2026-97152

NameCVE-2026-97152
DescriptionNanomsg 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.
SourceCVE (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 Bugs1148968

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
nanomsg (PTS)bookworm, trixie1.1.5+dfsg-1.1vulnerable
forky, sid1.1.5+dfsg-1.2vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
nanomsgsource(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)

Search for package or bug name: Reporting problems