Skip to main content
No exploitation reportedFix available

CVE-2022-26495

No exploitation reported by the sources we read.

  • Published2022-03-06
  • WeaknessCWE-190

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2022-03-0606:15CVE publishedNVD

Versions per branch

NVD
Debian debian linux
BranchAffectedFixed in
9.0= 9.0no fix published
10.0= 10.0no fix published
11.0= 11.0no fix published
Fedoraproject fedora
BranchAffectedFixed in
34.x= 34no fix published
35.x= 35no fix published
36.x= 36no fix published
Network block device project network block device
BranchAffectedFixed in
3.24< 3.243.24

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • nbdUbuntu:22.04:LTSall versions · fixed in 1:3.23-3ubuntu1
  • nbdUbuntu:20.04:LTSall versions · fixed in 1:3.20-1ubuntu0.1
  • nbdUbuntu:18.04:LTSall versions · fixed in 1:3.16.2-1ubuntu0.2
  • nbdUbuntu:16.04:LTSall versions · no fixed version listed
  • nbdUbuntu:14.04:LTSall versions · no fixed version listed
  • nbdopenSUSE:Tumbleweedall versions · fixed in 3.24-1.1
  • nbdopenSUSE:Leap 15.3all versions · fixed in 3.24-150000.3.3.1
  • nbdMageia:8all versions · fixed in 3.24-1.2.mga8

16 more package ranges on OSV.dev

Vendor advisories

  • CVE-2022-26495 Red Hat Product Security

    nbd: heap-based buffer overflow in nbd-server.c

Full record on NVD

Fix

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

Technical details

CVSS v3 Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Published
2022-03-06
Last Modified
2026-06-17
NVD status
Modified
GitHub Advisory
GHSA-q9rw-8758-hccj

Frequently asked questions

What is CVE-2022-26495?

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.

Is CVE-2022-26495 actively exploited?

Active exploitation of CVE-2022-26495 has not been confirmed. Its EPSS score was 2.9% on 2026-11-08, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2022-26495?

CVE-2022-26495 has a CVSS v3 base score of 9.8 (CRITICAL severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

Running nbd? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month

Sources for this record