# CVE-2023-5215: libnbd: Network Block Device (NBD) is a protocol for accessing Block Devices (hard disks and disk-like devices) over a Network

CVE-2023-5215 is fixed in 7 products on 1 platform, first by DEBIAN-CVE-2023-5215, released September 28, 2023. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2023-5215
- Priority: Routine
- CVSS: 6.5 (Moderate)
- EPSS: 0.0081
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Sep 28, 2023

## Description

Network Block Device (NBD) is a protocol for accessing Block Devices (hard disks and disk-like devices) over a Network. The libnbd is a userspace client library for writing NBD clients.  Security Fix(es):  * libnbd: Malicious NBD server may crash libnbd (CVE-2023-5871)  * libnbd: Crash or misbehaviour when NBD server returns an unexpected block size (CVE-2023-5215)  For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.  Additional Changes:  For detailed information on changes in this release, see the Red Hat Enterprise Linux 9.4 Release Notes linked from the References section.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | libnbd Debian 13.5 (trixie) | 1.16.5-1 | [DEBIAN-CVE-2023-5215](https://patchblox.com/security/data/fix/linux/debian-cve-2023-5215.md) | Sep 28, 2023 |
| Linux | libnbd Debian 14 | 1.16.5-1 | [DEBIAN-CVE-2023-5215](https://patchblox.com/security/data/fix/linux/debian-cve-2023-5215.md) | Sep 28, 2023 |
| Linux | libnbd RHEL 9 | 0:1.18.1-3.el9 | [RHSA-2024:2204](https://patchblox.com/security/data/fix/linux/rhsa-2024-2204.md) | Apr 30, 2024 |
| Linux | libnbd almalinux 9 | 1.18.1-3.el9 | [ALSA-2024:2204](https://patchblox.com/security/data/fix/linux/alsa-2024-2204.md) | Apr 30, 2024 |
| Linux | libnbd ol 9 | 0:1.18.1-3.el9 | [ELSA-2024-2204](https://patchblox.com/security/data/fix/linux/elsa-2024-2204.md) | May 2, 2024 |
| Linux | libnbd-bash-completion RHEL 9 | 0:1.18.1-3.el9 | [RHSA-2024:2204](https://patchblox.com/security/data/fix/linux/rhsa-2024-2204.md) | Apr 30, 2024 |
| Linux | libnbd-bash-completion almalinux 9 | 1.18.1-3.el9 | [ALSA-2024:2204](https://patchblox.com/security/data/fix/linux/alsa-2024-2204.md) | Apr 30, 2024 |
| Linux | libnbd-bash-completion ol 9 | 0:1.18.1-3.el9 | [ELSA-2024-2204](https://patchblox.com/security/data/fix/linux/elsa-2024-2204.md) | May 2, 2024 |
| Linux | libnbd-devel RHEL 9 | 0:1.18.1-3.el9 | [RHSA-2024:2204](https://patchblox.com/security/data/fix/linux/rhsa-2024-2204.md) | Apr 30, 2024 |
| Linux | libnbd-devel almalinux 9 | 1.18.1-3.el9 | [ALSA-2024:2204](https://patchblox.com/security/data/fix/linux/alsa-2024-2204.md) | Apr 30, 2024 |
| Linux | libnbd-devel ol 9 | 0:1.18.1-3.el9 | [ELSA-2024-2204](https://patchblox.com/security/data/fix/linux/elsa-2024-2204.md) | May 2, 2024 |
| Linux | nbdfuse RHEL 9 | 0:1.18.1-3.el9 | [RHSA-2024:2204](https://patchblox.com/security/data/fix/linux/rhsa-2024-2204.md) | Apr 30, 2024 |
| Linux | nbdfuse almalinux 9 | 1.18.1-3.el9 | [ALSA-2024:2204](https://patchblox.com/security/data/fix/linux/alsa-2024-2204.md) | Apr 30, 2024 |
| Linux | nbdfuse ol 9 | 0:1.18.1-3.el9 | [ELSA-2024-2204](https://patchblox.com/security/data/fix/linux/elsa-2024-2204.md) | May 2, 2024 |
| Linux | ocaml-libnbd RHEL 9 | 0:1.18.1-3.el9 | [RHSA-2024:2204](https://patchblox.com/security/data/fix/linux/rhsa-2024-2204.md) | Apr 30, 2024 |
| Linux | ocaml-libnbd almalinux 9 | 1.18.1-3.el9 | [ALSA-2024:2204](https://patchblox.com/security/data/fix/linux/alsa-2024-2204.md) | Apr 30, 2024 |
| Linux | ocaml-libnbd ol 9 | 0:1.18.1-3.el9 | [ELSA-2024-2204](https://patchblox.com/security/data/fix/linux/elsa-2024-2204.md) | May 2, 2024 |
| Linux | ocaml-libnbd-devel RHEL 9 | 0:1.18.1-3.el9 | [RHSA-2024:2204](https://patchblox.com/security/data/fix/linux/rhsa-2024-2204.md) | Apr 30, 2024 |
| Linux | ocaml-libnbd-devel almalinux 9 | 1.18.1-3.el9 | [ALSA-2024:2204](https://patchblox.com/security/data/fix/linux/alsa-2024-2204.md) | Apr 30, 2024 |
| Linux | ocaml-libnbd-devel ol 9 | 0:1.18.1-3.el9 | [ELSA-2024-2204](https://patchblox.com/security/data/fix/linux/elsa-2024-2204.md) | May 2, 2024 |
| Linux | python3-libnbd RHEL 9 | 0:1.18.1-3.el9 | [RHSA-2024:2204](https://patchblox.com/security/data/fix/linux/rhsa-2024-2204.md) | Apr 30, 2024 |
| Linux | python3-libnbd almalinux 9 | 1.18.1-3.el9 | [ALSA-2024:2204](https://patchblox.com/security/data/fix/linux/alsa-2024-2204.md) | Apr 30, 2024 |
| Linux | python3-libnbd ol 9 | 0:1.18.1-3.el9 | [ELSA-2024-2204](https://patchblox.com/security/data/fix/linux/elsa-2024-2204.md) | May 2, 2024 |

---

Data as of 2026-11-08T06:59:42Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
