Unrated severityNVD Advisory· Published Sep 28, 2023· Updated Nov 8, 2025
Libnbd: crash or misbehaviour when nbd server returns an unexpected block size
CVE-2023-5215
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
13- Red Hat/Red Hat Enterprise Linux 8 Advanced Virtualizationv5cpe:/a:redhat:advanced_virtualization:8::el8
cpe:/a:redhat:enterprise_linux:9::appstream+ 1 more
- cpe:/a:redhat:enterprise_linux:9::appstreamrange: 0:1.18.1-3.el9
- cpe:/o:redhat:enterprise_linux:8
- osv-coords10 versionspkg:rpm/almalinux/libnbdpkg:rpm/almalinux/libnbd-bash-completionpkg:rpm/almalinux/libnbd-develpkg:rpm/almalinux/nbdfusepkg:rpm/almalinux/ocaml-libnbdpkg:rpm/almalinux/ocaml-libnbd-develpkg:rpm/almalinux/python3-libnbdpkg:rpm/opensuse/libnbd&distro=openSUSE%20Leap%2015.4pkg:rpm/opensuse/libnbd&distro=openSUSE%20Leap%2015.5pkg:rpm/opensuse/libnbd&distro=openSUSE%20Tumbleweed
< 1.18.1-3.el9+ 9 more
- (no CPE)range: < 1.18.1-3.el9
- (no CPE)range: < 1.18.1-3.el9
- (no CPE)range: < 1.18.1-3.el9
- (no CPE)range: < 1.18.1-3.el9
- (no CPE)range: < 1.18.1-3.el9
- (no CPE)range: < 1.18.1-3.el9
- (no CPE)range: < 1.18.1-3.el9
- (no CPE)range: < 1.18.1-150300.8.15.1
- (no CPE)range: < 1.18.1-150300.8.15.1
- (no CPE)range: < 1.18.0-1.1
Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
4- access.redhat.com/errata/RHSA-2024:2204mitrevendor-advisoryx_refsource_REDHAT
- access.redhat.com/security/cve/CVE-2023-5215mitrevdb-entryx_refsource_REDHAT
- bugzilla.redhat.com/show_bug.cgimitreissue-trackingx_refsource_REDHAT
- listman.redhat.com/archives/libguestfs/2023-September/032635.htmlmitre
News mentions
0No linked articles in our index yet.