CVE-2022-26495

CRITICAL

network_block_device < 3.24 - Heap-Based Buffer Overflow via Integer Overflow in Name Length Field

Title source: llm
STIX 2.1

Description

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.

Scores

CVSS v3 9.8
EPSS 0.0019
EPSS Percentile 39.9%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Details

CWE
CWE-190
Status published
Products (7)
debian/debian_linux 9.0
debian/debian_linux 10.0
debian/debian_linux 11.0
fedoraproject/fedora 34
fedoraproject/fedora 35
fedoraproject/fedora 36
network_block_device_project/network_block_device < 3.24
Published Mar 06, 2022
Tracked Since Feb 18, 2026