CVE-2022-26495 Integer overflow in n/a

Critical 9.8 Published Updated

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:TumbleweedAll versions3.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.

All Debian Debian Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2022-26495, DLA-2944-1, GHSA-q9rw-8758-hccj, UBUNTU-CVE-2022-26495, openSUSE-SU-2024:11993-1.

Is CVE-2022-26495 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free