CVE-2022-26496 json
In nbd-server in nbd before 3.24, there is a stack-based buffer overflow.
published 2022-03-06 4 y ago modified 2026-06-17 4 mo ago also EUVD-2022-31054
- cvss
- 9.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 3.6%
- EPSS 3.6% chance of exploitation in 30 days, percentile 89%
- public exploits
- 0
- none known
Summary
In nbd-server in nbd before 3.24, there is a stack-based buffer overflow. An attacker can cause a buffer overflow in the parsing of the name field by sending a crafted NBD_OPT_INFO or NBD_OPT_GO message with an large value as the length of the name.
Patch / fix
- network_block_device_project network_block_device 3.24
- nbd Debian 14, Debian 13, Debian 12 1:3.24-1
debian advisories DEBIAN-CVE-2022-26496
- nbd Ubuntu 18.04 LTS 1:3.16.2-1ubuntu0.2
- nbd Ubuntu 20.04 LTS 1:3.20-1ubuntu0.1
- nbd Ubuntu 22.04 LTS 1:3.23-3ubuntu1
ubuntu advisories UBUNTU-CVE-2022-26496
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- nbd openSUSE Leap 15.3 3.24-150000.3.3.1
suse advisories SUSE-SU-2022:1276-1
- nbd Alpine 3.24, Alpine 3.23, Alpine 3.22 +6 more 3.24-r0
alpine advisories ALPINE-CVE-2022-26496
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2022-26496 updated cvss 5.5
nbd: stack-based buffer overflow during name parsing in nbd-server.c
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
3.59% chance of exploitation in the next 30 days, higher than 89% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- lists.debian.org https://lists.debian.org/nbd/2022/01/msg00037.html referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Classification
- Weakness
-
- CWE-787 Out-of-bounds Write
References
-
lists.debian.org
/nbd/2022/01/msg00037.html
exploit, mailing-list, third-party-advisory
-
debian.org
/security/2022/dsa-5100
vendor-advisory, third-party-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/IZHR73XMAJTCFGKUZRXVTZKCK2X3IFNA/
vendor-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/PU5JFD4PEJED72TZLZ5R2Q2SFXICU5I5/
vendor-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/G2UPX62BIWOOHSACGUDB7E3O4URNN37F/
vendor-advisory
-
security.gentoo.org
/glsa/202402-10
vendor-advisory
-
sourceforge.net
/projects/nbd/files/nbd/
product, release-notes, third-party-advisory
-
lists.debian.org
/nbd/2022/01/msg00036.html
mailing-list, third-party-advisory
- packetstormsecurity.com /files/172148/Shannon-Baseband-fmtp-SDP-Attribute-Memory-Corruption.html
Sources
- CVE List CVE-2022-26496
- NVD CVE-2022-26496
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.