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
EPSS: 0.028 (84.9th percentile) — read the EPSS interpretation.
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.
Affected products
- Network_block_device_project Network_block_device
- Debian Debian_linux — versions 9.0, 10.0, 11.0
- Fedoraproject Fedora — versions 34, 35, 36
- N/a — versions n/a
Weakness classification (CWE)
Public proof-of-concept exploits
References
- cve@mitre.org (Exploit, Mailing List, Third Party Advisory)
- cve@mitre.org (Product, Third Party Advisory, Release Notes)
- cve@mitre.org (mailing-list, Mailing List, Third Party Advisory)
- cve@mitre.org (vendor-advisory, Third Party Advisory)
- cve@mitre.org (vendor-advisory)
- cve@mitre.org (vendor-advisory)
- cve@mitre.org (vendor-advisory)
- cve@mitre.org (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.