---
title: "CVE-2022-26495"
canonical_url: "https://pkgseek.com/security/CVE-2022-26495"
locale: "en"
source: "pkgseek"
entity_type: "cve"
severity: "critical"
---

# 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.

CVE-2022-26495 is rated CRITICAL (9.8), with 1 indexed affected package builds across 1 distributions.

- **Severity / Score**: CRITICAL (9.8)
- **Affected builds**: 1
- **Affected distros**: 1
- **Distros with fixed_in**: Ubuntu

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| Ubuntu | focal | nbd-server | 1:3.20-1 | 1:3.20-1ubuntu0.1 |
