CVE-2022-26495 Integer overflow in n/a
An integer overflow in nbd-server allows heap-based buffer overflows, potentially leading to code execution or denial of service.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-26495?
CVE-2022-26495 is a critical vulnerability in Debian Debian Linux, published on 6 Mar 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Weakness: CWE-190
Which versions are affected by CVE-2022-26495?
It affects 3 products.
Linux distribution packages (1)
nbd openSUSE:Tumbleweed | All versions | 3.24-1.1 |
Products include Debian Debian Linux, Fedoraproject Fedora, Network Block Device Project Network Block Device.
How do I fix CVE-2022-26495?
Upgrade to a fixed version.
Is CVE-2022-26495 being exploited?
There is no known exploitation of CVE-2022-26495 in the wild and no public exploit code.
Other vulnerabilities in Debian Debian Linux
Sources
Also known as DEBIAN-CVE-2022-26495, DLA-2944-1, GHSA-q9rw-8758-hccj, UBUNTU-CVE-2022-26495, openSUSE-SU-2024:11993-1.