
CVE catalog
CVE-2022-26495
nbd: CVE-2022-26495
- Severity
- High · CVSS 8.1
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 2.86% · Oct 25, 2026
In nbd-server in nbd before 3.24, there is an integer overflow with a resultant heap-based buffer overflow. A value of 0xffffffff in the name length 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 the NBD_OPT_INFO, NBD_OPT_GO, and NBD_OPT_EXPORT_NAME messages.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | nbd | sid | 1:3.27.1-4 | fixed |
| Debian | nbd | forky | 1:3.27.1-4 | fixed |
| Debian | nbd | trixie | 1:3.26.1-6.1 | fixed |
| Debian | nbd | bookworm | 1:3.24-1.1 | fixed |
| Ubuntu | nbd | 18.04 | 1:3.15.2-3 | vulnerable |
| Ubuntu | nbd | 18.04 | 1:3.16.2-1 | vulnerable |
| Ubuntu | nbd | 18.04 | 1:3.16.2-1ubuntu0.1 | vulnerable |
| Ubuntu | nbd | 18.04 | 1:3.16.2-1ubuntu0.2 | fixed |
| Ubuntu | nbd | 20.04 | 1:3.19-3 | vulnerable |
| Ubuntu | nbd | 20.04 | 1:3.20-1 | vulnerable |
| Ubuntu | nbd | 20.04 | 1:3.20-1ubuntu0.1 | fixed |
| Opensuse | nbd | tumbleweed | 3.24-1.1 | fixed |
| Opensuse | nbd | leap 15.3 | 3.24-150000.3.3.1 | fixed |
| Ubuntu | nbd | 14.04 | 1:3.3-3ubuntu1 | vulnerable |
| Ubuntu | nbd | 14.04 | 1:3.4-1ubuntu1 | vulnerable |
| Ubuntu | nbd | 14.04 | 1:3.4-2ubuntu1 | vulnerable |
| Ubuntu | nbd | 14.04 | 1:3.5-1ubuntu1 | vulnerable |
| Ubuntu | nbd | 14.04 | 1:3.6-1ubuntu1 | vulnerable |
| Ubuntu | nbd | 14.04 | 1:3.7-1 | vulnerable |
| Ubuntu | nbd | 14.04 | 1:3.7-1ubuntu0.1 | vulnerable |
| Ubuntu | nbd | 16.04 | 1:3.10-1 | vulnerable |
| Ubuntu | nbd | 16.04 | 1:3.13-1 | vulnerable |
| Ubuntu | nbd | 18.04 | 1:3.15.2-3 | vulnerable |
| Ubuntu | nbd | 18.04 | 1:3.16.2-1 | vulnerable |
| Ubuntu | nbd | 18.04 | 1:3.16.2-1ubuntu0.1 | vulnerable |
| Ubuntu | nbd | 18.04 | 1:3.16.2-1ubuntu0.2 | fixed |
| Ubuntu | nbd | 20.04 | 1:3.19-3 | vulnerable |
| Ubuntu | nbd | 20.04 | 1:3.20-1 | vulnerable |
| Ubuntu | nbd | 20.04 | 1:3.20-1ubuntu0.1 | fixed |
| Ubuntu | nbd | 22.04 | 1:3.21-1build3 | vulnerable |
| Ubuntu | nbd | 22.04 | 1:3.22-1 | vulnerable |
| Ubuntu | nbd | 22.04 | 1:3.23-3 | vulnerable |
| Ubuntu | nbd | 22.04 | 1:3.23-3ubuntu1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | nbd | source | sid | 1:3.24-1 | not yet assigned | Not reported | [1006915] |
| Debian | nbd | source | forky | 1:3.24-1 | not yet assigned | Not reported | [1006915] |
| Debian | nbd | source | trixie | 1:3.24-1 | not yet assigned | Not reported | [1006915] |
| Debian | nbd | source | bookworm | 1:3.24-1 | not yet assigned | Not reported | [1006915] |
| Ubuntu | nbd | deb | 18.04 | 1:3.16.2-1ubuntu0.2 | Not reported | USN-5323-1 | Not reported |
| Ubuntu | nbd | deb | 20.04 | 1:3.20-1ubuntu0.1 | Not reported | USN-5323-1 | Not reported |
| Opensuse | nbd | rpm | tumbleweed | 3.24-1.1 | Not reported | OPENSUSE-SU-2024:11993-1 | Not reported |
| Opensuse | nbd | rpm | leap 15.3 | 3.24-150000.3.3.1 | Not reported | SUSE-SU-2022:1276-1 | Not reported |
| Ubuntu | nbd | deb | 18.04 | 1:3.16.2-1ubuntu0.2 | Not reported | UBUNTU-CVE-2022-26495 | Not reported |
| Ubuntu | nbd | deb | 20.04 | 1:3.20-1ubuntu0.1 | Not reported | UBUNTU-CVE-2022-26495 | Not reported |
| Ubuntu | nbd | deb | 22.04 | 1:3.23-3ubuntu1 | Not reported | UBUNTU-CVE-2022-26495 | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [nbd-client]Fixed
Source package: [nbd]
Details (2)
1:3.24-1.1· amd64 · bookwormFixed · Fixed:
1:3.24-1dsa · nbd · debian · bookworm
1:3.24-1.1· arm64 · bookwormFixed · Fixed:
1:3.24-1dsa · nbd · debian · bookworm
- [nbd-server]Fixed
Source package: [nbd]
Details (2)
1:3.24-1.1· amd64 · bookwormFixed · Fixed:
1:3.24-1dsa · nbd · debian · bookworm
1:3.24-1.1· arm64 · bookwormFixed · Fixed:
1:3.24-1dsa · nbd · debian · bookworm
[openSUSE Tumbleweed]
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/suse-su-2022_1276-1.json]
- [https://osv.dev/vulnerability/DLA-2944-1]
- [https://osv.dev/vulnerability/DSA-5100-1]
- [https://osv.dev/vulnerability/SUSE-SU-2022:1276-1]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2022-26495]
- [https://osv.dev/vulnerability/USN-5323-1]
- [https://osv.dev/vulnerability/openSUSE-SU-2024:11993-1]
- [https://security-tracker.debian.org/tracker/CVE-2022-26495]
[Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [SUSE security advisories and VEX]