CVE-2022-26496 Memory corruption in n/a

Critical 9.8 Published Updated

A stack-based buffer overflow in nbd-server allows attackers to execute arbitrary code or cause denial of service via crafted NBD messages.

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-26496?

CVE-2022-26496 is a critical memory corruption 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 a stack-based buffer overflow. An attacker can cause a buffer overflow in the parsing of the name field by sending a crafted NBD_OPT_INFO or NBD_OPT_GO message with an large value as the length of the name.

Weakness: CWE-787

Which versions are affected by CVE-2022-26496?

It affects 3 products.

Products include Debian Debian Linux, Fedoraproject Fedora, Network Block Device Project Network Block Device.

How do I fix CVE-2022-26496?

Upgrade to a fixed version.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2022-26496 being exploited?

There is no known exploitation of CVE-2022-26496 in the wild and no public exploit code.

All Debian Debian Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2022-26496, GHSA-mxm3-g2j6-276p, UBUNTU-CVE-2022-26496.

Is CVE-2022-26496 in your software?

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

Check your SBOMs for free