{"id":"CVE-2022-26495","details":"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.","modified":"2026-08-12T03:51:30.553287958Z","published":"2022-03-06T00:00:00Z","related":["SUSE-SU-2022:1276-1","openSUSE-SU-2024:11993-1"],"database_specific":{"unresolved_ranges":[{"source":"DESCRIPTION","extracted_events":[{"fixed":"3.24"}]}],"cna_assigner":"mitre","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/26xxx/CVE-2022-26495.json"},"references":[{"type":"WEB","url":"https://lists.debian.org/nbd/2022/01/msg00037.html"},{"type":"WEB","url":"https://sourceforge.net/projects/nbd/files/nbd/"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/26xxx/CVE-2022-26495.json"},{"type":"ADVISORY","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/G2UPX62BIWOOHSACGUDB7E3O4URNN37F/"},{"type":"ADVISORY","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/IZHR73XMAJTCFGKUZRXVTZKCK2X3IFNA/"},{"type":"ADVISORY","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PU5JFD4PEJED72TZLZ5R2Q2SFXICU5I5/"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-26495"},{"type":"ADVISORY","url":"https://security.gentoo.org/glsa/202402-10"},{"type":"ADVISORY","url":"https://www.debian.org/security/2022/dsa-5100"},{"type":"ARTICLE","url":"https://lists.debian.org/debian-lts-announce/2022/03/msg00014.html"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/networkblockdevice/nbd","events":[{"introduced":"0"},{"fixed":"ca2b9b33890e430a76b57f83cdabe80c64b12829"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"3.24"}],"source":"CPE_RANGE","cpe":"cpe:2.3:a:network_block_device_project:network_block_device:*:*:*:*:*:*:*:*"}}],"versions":["nbd-3.23","nbd-3.22","nbd-3.21","nbd-3.20","nbd-3.19","nbd-3.18","nbd-3.17","nbd-3.16.2","nbd-3.16.1","nbd-3.16","nbd-3.15.2","nbd-3.7","nbd-3.15.1","nbd-3.15","nbd-3.13","nbd-3.12.1","nbd-3.12","nbd-3.12pre1","nbd-3.11","nbd-3.10","nbd-3.9.1","nbd-3.9","nbd-3.8","nbd-3.6","nbd-3.5","nbd-3.4","nbd-3.3","nbd-3.2","nbd-3.1.1","nbd-3.1","nbd-3.0","nbd-2.9.25","nbd-2.9.24","nbd-2.9.23","nbd-2.9.22","2.9.21a","2.9.21","2.9.20","2.9.19","2.9.18","2.9.17","2.9.16","2.9.15","git-2.9.14","2.9.14","git-2.9.13","2.9.13","git-2.9.12","2.9.12","2.9.11","2.9.10","2.9.8","2.9.7","2.9.6","2.9.3","2.9.2","2.9.1","2.9.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-26495.json"}}],"schema_version":"1.9.0"}