CVEfocus › CVE database › CVE-2022-26496

CVE-2022-26496

CVSS 9.8 CriticalEPSS 3.1% (higher than 89% of CVEs)Published 2022-03-06Updated 2024-08-03Assigner: mitre

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.

What to do

Fixed builds are available from Alpine, Debian, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

15Fixed
2Fix pending

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 22.04nbdFixed1:3.23-3ubuntu1UBUNTU-CVE-2022-26496
Ubuntu 20.04nbdFixed1:3.20-1ubuntu0.1UBUNTU-CVE-2022-26496
Ubuntu 18.04nbdFixed1:3.16.2-1ubuntu0.2UBUNTU-CVE-2022-26496
Ubuntu 16.04nbdFix pendingUBUNTU-CVE-2022-26496
Ubuntu 14.04nbdFix pendingUBUNTU-CVE-2022-26496
Debian 14nbdFixed1:3.24-1DEBIAN-CVE-2022-26496
Debian 13nbdFixed1:3.24-1DEBIAN-CVE-2022-26496
Debian 12nbdFixed1:3.24-1DEBIAN-CVE-2022-26496
Alpine Linux 3.24nbdFixed3.24-r0ALPINE-CVE-2022-26496
Alpine Linux 3.23nbdFixed3.24-r0ALPINE-CVE-2022-26496
Alpine Linux 3.22nbdFixed3.24-r0ALPINE-CVE-2022-26496
Alpine Linux 3.21nbdFixed3.24-r0ALPINE-CVE-2022-26496
Alpine Linux 3.20nbdFixed3.24-r0ALPINE-CVE-2022-26496
Alpine Linux 3.19nbdFixed3.24-r0ALPINE-CVE-2022-26496
Alpine Linux 3.18nbdFixed3.24-r0ALPINE-CVE-2022-26496
Alpine Linux 3.17nbdFixed3.24-r0ALPINE-CVE-2022-26496
Alpine Linux 3.16nbdFixed3.24-r0ALPINE-CVE-2022-26496

What the vendor says

As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.