---
title: "CVE-2022-26495"
canonical_url: "https://pkgseek.com/security/CVE-2022-26495"
locale: "zh-CN"
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 严重级别为 CRITICAL (9.8)，共索引 1 条受影响软件包构建记录，涉及 1 个发行版。

- **级别 / 评分**: CRITICAL (9.8)
- **受影响构建数**: 1
- **涉及发行版**: 1
- **已标明修复版本发行版**: Ubuntu

## Affected Packages

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