Integer overflow in Network Block Device Project
CVE-2022-26495
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.
Vulnerability class: Integer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.029 (86.2th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 86th percentile — 86.2% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.028 · newest: 0.029 · change: +0.000
Affected products
- Network Block Device Project
- Debian Linux — versions 9.0, 10.0, 11.0
- Fedoraproject Fedora — versions 34, 35, 36
Weakness classification (CWE)
Public proof-of-concept exploits
References
- lists.debian.org/nbd/2022/01/msg00037.html (Exploit, Mailing List, Third Party Advisory)
- sourceforge.net/projects/nbd/files/nbd/ (Product, Third Party Advisory, Release Notes)
- lists.debian.org/debian-lts-announce/2022/03/msg00014.html (mailing-list, Mailing List, Third Party Advisory)
- www.debian.org/security/2022/dsa-5100 (vendor-advisory, Third Party Advisory)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (vendor-advisory)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (vendor-advisory)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (vendor-advisory)
- security.gentoo.org/glsa/202402-10 (vendor-advisory)
Frequently asked questions
- What is CVE-2022-26495?
- CVE-2022-26495 is a critical-severity vulnerability in Network Block Device Project, classified under Integer Overflow or Wraparound. CVSS score: 9.8/10. Published 2022-03-06.
- How severe is CVE-2022-26495?
- Critical severity. CVSS v3 base score is 9.8 out of 10.
- Is CVE-2022-26495 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.