Description
A flaw was found in libnbd. A server can reply with a block size larger than 2^63 (the NBD spec states the size is a 64-bit unsigned value). This issue could lead to an application crash or other unintended behavior for NBD clients that doesn't treat the return value of the nbd_get_size() function correctly.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Red Hat | Red Hat Enterprise Linux 9 | — | — |
| Red Hat | Red Hat Enterprise Linux 8 | — | — |
| Red Hat | Red Hat Enterprise Linux 8 Advanced Virtualization | — | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | libnbd | 1.16.5-1 | — |
| Debian 13 | libnbd | 1.16.5-1 | — |
| Debian 12 | libnbd | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | libnbd | No fix yet | — |
| Ubuntu 26.04 LTS | libnbd | No fix yet | — |
| Ubuntu 25.10 | libnbd | No fix yet | — |
| Ubuntu 24.04 LTS | libnbd | No fix yet | — |
| Ubuntu 22.04 LTS | libnbd | No fix yet | — |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | libnbd | No fix yet | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 9 | libnbd +6 | 1.18.1-3.el9 | RHSA-2024:2204 |
AlmaLinux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux 9 | libnbd +6 | 1.18.1-3.el9 | ALSA-2024:2204 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | libnbd | 1.18.0-1.1 | openSUSE-SU-2024:13278-1 |
| openSUSE Leap 15.5 | libnbd | 1.18.1-150300.8.15.1 | SUSE-SU-2023:4222-1 |
| openSUSE Leap 15.4 | libnbd | 1.18.1-150300.8.15.1 | SUSE-SU-2023:4222-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | libnbd | 1.18.0-r0 | — |
| Alpine v3.23 | libnbd | 1.18.0-r0 | — |
| Alpine v3.22 | libnbd | 1.18.0-r0 | — |
| Alpine v3.21 | libnbd | 1.18.0-r0 | — |
| Alpine v3.20 | libnbd | 1.18.0-r0 | — |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | libnbd | 1.12.1-3 | — |
| Azure Linux 2 (CBL-Mariner) | libnbd | 1.12.1-3 | — |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 9 | libnbd +6 | 1.18.1-3.el9 | ELSA-2024-2204 |
Advisories 6
- ALSA-2024:2204 Moderate: libnbd security update AlmaLinux Security Advisories · Oct 29, 2026
- RHSA-2024:2204 Red Hat Security Advisory: libnbd security update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- SUSE-SU-2023:4222-1 Security update for libnbd SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:13278-1 libnbd-1.18.0-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- WID-SEC-2024-0995 Red Hat Enterprise Linux: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 17, 2025
- ELSA-2024-2204 Moderate: libnbd security update (Oracle Linux 9) Oracle Linux Security Advisories (ELSA) · May 2, 2024
References
- RHSA-2024:2204 vendor-advisory
- https://access.redhat.com/security/cve/CVE-2023-5215 vdb-entry
- RHBZ#2241041 issue-tracking
- https://listman.redhat.com/archives/libguestfs/2023-September/032635.html