CVEfocus › CVE database › CVE-2023-5871

CVE-2023-5871Libnbd: malicious nbd server may crash libnbd

CVSS 5.3 MediumEPSS 1.1% (higher than 67% of CVEs)Published 2023-11-27Updated 2026-11-24Assigner: redhat

A flaw was found in libnbd, due to a malicious Network Block Device (NBD), a protocol for accessing Block Devices such as hard disks over a Network. This issue may allow a malicious NBD server to cause a Denial of Service.

CWE-617

What to do

Fixed builds are available from AlmaLinux, Debian, Red Hat: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

16Fixed
1Fix pending
2Under investigation
11Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04libnbdNot affected
vulnerable_code_not_present
Ubuntu 25.10libnbdNot affected
vulnerable_code_not_present
Ubuntu 24.04libnbdUnder investigationUBUNTU-CVE-2023-5871
Ubuntu 22.04libnbdUnder investigationUBUNTU-CVE-2023-5871
Ubuntu 20.04libnbdFix pendingUBUNTU-CVE-2023-5871
Debian 14libnbdFixed1.18.1-1DEBIAN-CVE-2023-5871
Debian 13libnbdFixed1.18.1-1DEBIAN-CVE-2023-5871
Red Hat Enterprise Linux 9libnbdFixed0:1.18.1-3.el9RHSA-2024:2204
Red Hat Enterprise Linux 9libnbd-bash-completionFixed0:1.18.1-3.el9RHSA-2024:2204
Red Hat Enterprise Linux 9libnbd-develFixed0:1.18.1-3.el9RHSA-2024:2204
Red Hat Enterprise Linux 9nbdfuseFixed0:1.18.1-3.el9RHSA-2024:2204
Red Hat Enterprise Linux 9ocaml-libnbdFixed0:1.18.1-3.el9RHSA-2024:2204
Red Hat Enterprise Linux 9ocaml-libnbd-develFixed0:1.18.1-3.el9RHSA-2024:2204
Red Hat Enterprise Linux 9python3-libnbdFixed0:1.18.1-3.el9RHSA-2024:2204
Red Hat Enterprise Linux 8libnbdNot affected
Red Hat Enterprise Linux 8libnbd-bash-completionNot affected
Red Hat Enterprise Linux 8libnbd-develNot affected
Red Hat Enterprise Linux 8nbdfuseNot affected
Red Hat Enterprise Linux 8ocaml-libnbdNot affected
Red Hat Enterprise Linux 8ocaml-libnbd-develNot affected
Red Hat Enterprise Linux 8python3-libnbdNot affected
Red Hat Enterprise Linux 7libnbdNot affected
Red Hat Enterprise Linux 6libnbdNot affected
AlmaLinux 9libnbdFixed1.18.1-3.el9ALSA-2024:2204
AlmaLinux 9libnbd-bash-completionFixed1.18.1-3.el9ALSA-2024:2204
AlmaLinux 9libnbd-develFixed1.18.1-3.el9ALSA-2024:2204
AlmaLinux 9nbdfuseFixed1.18.1-3.el9ALSA-2024:2204
AlmaLinux 9ocaml-libnbdFixed1.18.1-3.el9ALSA-2024:2204
AlmaLinux 9ocaml-libnbd-develFixed1.18.1-3.el9ALSA-2024:2204
AlmaLinux 9python3-libnbdFixed1.18.1-3.el9ALSA-2024:2204

What the vendor says

As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Workaround: Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.