CVE-2023-5215 | Libnbd: crash or misbehaviour when nbd server returns an unexpected block size

Exp

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.

Published: 2023-09-28 Last update: 2026-06-17 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2023-5215 is rated Exploit Available (54.3/100): CVSS Medium severity, with low exploitation likelihood (EPSS 0.75%). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Public exploit references (Exploit-DB) for CVE-2023-5215

EDB-ID Source Kind Published Link
nvd_ref exploit_tag Exploit-DB ↗

Exploit prediction scoring system (EPSS) score for CVE-2023-5215

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-06-15 0.05% 0.75% +0.70%
2 2026-03-08 0.07% 0.05% -0.02%
3 2025-11-22 0.07%

Full EPSS history (15 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2023-5215

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
5.3 3.1 MEDIUM
CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H Click to expand
Attack vector (AV:A)
Attacker has to be nearby on the network—same office, same link, that vibe—not the whole wide internet.
Attack complexity (AC:H)
Even with access, the exploit needs extra luck, timing, or a fussy environment to actually work.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:N)
Doesn’t really leak secrets in a meaningful way.
Integrity (I:N)
Data isn’t meaningfully altered or forged.
Availability (A:H)
Could take the service down hard or make it unusable for people who depend on it.
1.6 3.6 [email protected]
6.5 3.1 MEDIUM
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H Click to expand
Attack vector (AV:A)
Attacker has to be nearby on the network—same office, same link, that vibe—not the whole wide internet.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:N)
Doesn’t really leak secrets in a meaningful way.
Integrity (I:N)
Data isn’t meaningfully altered or forged.
Availability (A:H)
Could take the service down hard or make it unusable for people who depend on it.
2.8 3.6 [email protected]

Weakness enumeration for CVE-2023-5215

OS Trackers for CVE-2023-5215

vendor priority summary link
alpine CVE-2023-5215: 1 source package rows (libnbd); 8 state rows across 4 repos (3.20-community, 3.21-community, 3.22-community, edge-community); fixed 4, open 4. https://security.alpinelinux.org/vuln/CVE-2023-5215
debian not yet assigned CVE-2023-5215 not yet assigned priority: Debian including 1 source packages (libnbd), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 3, open 2. https://security-tracker.debian.org/tracker/CVE-2023-5215
redhat low https://access.redhat.com/security/cve/CVE-2023-5215
suse medium CVE-2023-5215 severity moderate: SUSE including 27 source package names (libnbd-1.18.0-1.1, libnbd-1.18.1-150300.8.15.1, …), 32 product×package rows across 6 product lines (SUSE Liberty Linux 9, SUSE Linux Enterprise Module for Server Applications 15 SP7, … (6 product lines)): Fixed 32. https://www.suse.com/security/cve/CVE-2023-5215/
ubuntu medium CVE-2023-5215 medium priority: Ubuntu including 1 source packages (libnbd), 12 status rows across 12 suites (bionic, focal, jammy, lunar, mantic, noble, oracular, plucky, questing, trusty, upstream, xenial): ignored 7, needs-triage 5. https://ubuntu.com/security/CVE-2023-5215

Affected software / configurations for CVE-2023-5215

Vendor Product Version Raw CPE
redhat libnbd < 1.18.0 cpe:2.3:a:redhat:libnbd:*:*:*:*:*:*:*:*
redhat enterprise_linux 8.0 cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*
redhat enterprise_linux 9.0 cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:*

References for CVE-2023-5215

cvelogic Threat Intelligence