CVE-2022-26495

nbd-client: In nbd-server in nbd before 3.24, there is an integer overflow with aresultant heap-based buffer overflow

CVE-2022-26495 is fixed in 3 products on 1 platform, first by nbd-client 1:3.16.2-1ubuntu0.2, released March 5, 2022. It is not reported as exploited. Patch Radar priority: High.

High
CVSS
9.8
Medium
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.0286
86th percentile

In nbd-server in nbd before 3.24, there is an integer overflow with aresultant heap-based buffer overflow. A value of 0xffffffff in the namelength field will cause a zero-sized buffer to be allocated for the name,resulting in a write to a dangling pointer. This issue exists for theNBD_OPT_INFO, NBD_OPT_GO, and NBD_OPT_EXPORT_NAME messages.

Where it's fixed

ProductFixed inFixReleased
Linux
nbd · Debian 11.6 (bullseye) 1:3.21-1+deb11u1 DSA-5100-1 Mar 12, 2022
nbd · Debian 12.15 (bookworm) 1:3.24-1 DEBIAN-CVE-2022-26495 Mar 6, 2022
nbd · Debian 13.5 (trixie) 1:3.24-1 DEBIAN-CVE-2022-26495 Mar 6, 2022
nbd · Debian 14 1:3.24-1 DEBIAN-CVE-2022-26495 Mar 6, 2022
nbd-client · Ubuntu 18.04.6 LTS (bionic) 1:3.16.2-1ubuntu0.2 nbd-client 1:3.16.2-1ubuntu0.2 Mar 5, 2022
nbd-client · Ubuntu 20.04 LTS (focal) 1:3.20-1ubuntu0.1 nbd-client 1:3.20-1ubuntu0.1 Mar 5, 2022
nbd-client · Ubuntu 22.04.1 LTS (jammy) 1:3.23-3ubuntu1 nbd-client 1:3.23-3ubuntu1 Mar 5, 2022
nbd-client · Ubuntu 24.10 (oracular) 1:3.23-3ubuntu1 nbd-client 1:3.23-3ubuntu1 Jan 16, 2026
nbd-client · Ubuntu 25.04 (plucky) 1:3.23-3ubuntu1 nbd-client 1:3.23-3ubuntu1 Jan 16, 2026
nbd-server · Ubuntu 18.04.6 LTS (bionic) 1:3.16.2-1ubuntu0.2 nbd-server 1:3.16.2-1ubuntu0.2 Mar 5, 2022
nbd-server · Ubuntu 20.04 LTS (focal) 1:3.20-1ubuntu0.1 nbd-server 1:3.20-1ubuntu0.1 Mar 5, 2022
nbd-server · Ubuntu 22.04.1 LTS (jammy) 1:3.23-3ubuntu1 nbd-server 1:3.23-3ubuntu1 Mar 5, 2022
nbd-server · Ubuntu 24.10 (oracular) 1:3.23-3ubuntu1 nbd-server 1:3.23-3ubuntu1 Jan 16, 2026
nbd-server · Ubuntu 25.04 (plucky) 1:3.23-3ubuntu1 nbd-server 1:3.23-3ubuntu1 Jan 16, 2026

Patch Radar data is free to use with attribution. Terms and how to credit it.

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.