{"id":"CVE-2023-5215","aliases":["CVE-2023-5215"],"related":[],"kind":"vulnerability","state":"published","title":"Libnbd: crash or misbehaviour when nbd server returns an unexpected block size","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"Se encontró una falla en libnbd. Un servidor puede responder con un tamaño de bloque mayor que 2^63 (la especificación NBD establece que el tamaño es un valor sin signo de 64 bits). Este problema podría provocar un bloqueo de la aplicación u otro comportamiento no deseado para los clientes NBD que no traten correctamente el valor de retorno de la función nbd_get_size().","source":"nvd"}],"published":"2023-09-28T13:55:32.462Z","modified":"2026-06-17T06:48:06.327Z","severity":{"scorer":"redhat","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","score":5.3,"rating":"MEDIUM"},"severities":[{"scorer":"redhat","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","score":5.3,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":6.5,"rating":"MEDIUM"}],"cwes":["CWE-241","CWE-252"],"affected":[{"ranges":[{"type":"rpm","introduced":"0:1.18.1-3.el9","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9","package":"libnbd","cpe":"cpe:/a:redhat:enterprise_linux:9::appstream","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8","package":"virt:rhel/libnbd","cpe":"cpe:/o:redhat:enterprise_linux:8","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8 Advanced Virtualization","package":"virt:av/libnbd","cpe":"cpe:/a:redhat:advanced_virtualization:8::el8","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8 Advanced Virtualization","package":"virt-devel:av/libnbd","cpe":"cpe:/a:redhat:advanced_virtualization:8::el8","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"1.18.0"}],"vendor":"redhat","product":"libnbd","cpe":"cpe:2.3:a:redhat:libnbd:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"8.0"},{"status":"affected","version":"9.0"}],"vendor":"redhat","product":"enterprise_linux","cpe":"cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://access.redhat.com/errata/RHSA-2024:2204","tags":["vendor-advisory","x-refsource-redhat","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/security/cve/CVE-2023-5215","tags":["vdb-entry","vendor-advisory","x-refsource-redhat","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2241041","tags":["issue-tracking","vendor-advisory","x-refsource-redhat","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://listman.redhat.com/archives/libguestfs/2023-September/032635.html","tags":["exploit","patch","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"redhat","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-5215","url":"https://www.cve.org/CVERecord?id=CVE-2023-5215","licence":"CVE Terms of Use","modified":"2025-11-08T08:55:24.112Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-5215","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-5215","licence":"Public domain","modified":"2026-06-17T06:48:06.327Z"}],"updatedAt":"2026-11-25T22:58:28.254Z","epss":{"score":0.00806,"percentile":0.57945,"date":"2026-12-01T12:00:22.000Z"}}