Every CVE Search/ Get API key

CVE-2023-5871

Libnbd: malicious nbd server may crash libnbd

5.3 MediumFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
None
Integrity
None
Availability
Low

Exploit likelihood

1.11%Up 1.1 points since Nov 28, 2023
90%50%10%1%

What each source reports

CVE List Score used 5.3

Libnbd: malicious nbd server may crash libnbd

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.

Record
CVE-2023-5871
CVSS 3.1
5.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Weakness
CWE-617
Updated
2026-11-05
EUVDEUVD-2023-58145 5.3

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.

Record
EUVD-2023-58145
CVSS 3.1
5.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Updated
2026-11-05
GitHub AdvisoriesGHSA-m8ch-v4g3-cq3g 5.3

A flaw was found in libnbd, due to a malicious Network Block Device (NBD), a protocol for...

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.

Record
GHSA-m8ch-v4g3-cq3g
CVSS 3.1
5.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Weakness
CWE-400, CWE-617, CWE-671
Updated
2026-11-02
NVD 5.3

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.

Record
CVE-2023-5871
CVSS 3.1
5.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Weakness
CWE-617
Updated
2026-11-05
OSV 5.3

Libnbd: malicious nbd server may crash libnbd

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.

Record
CVE-2023-5871
CVSS 3.1
5.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Weakness
CWE-617
Updated
2026-11-07
OSVDEBIAN-CVE-2023-5871 5.3

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.

Record
DEBIAN-CVE-2023-5871
CVSS 3.1
5.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Updated
2026-11-02
Show 5 moreShow less
OSVRHSA-2024:2204 5.3

Red Hat Security Advisory: libnbd security update

Record
RHSA-2024:2204
CVSS 3.1
5.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Updated
2026-11-02
OSVUBUNTU-CVE-2023-5871 5.3

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.

Record
UBUNTU-CVE-2023-5871
CVSS 3.1
5.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Updated
2026-11-02
OSVALSA-2024:2204 No score

Moderate: libnbd security update

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 AlmaLinux Release Notes linked from the References section.

Record
ALSA-2024:2204
Updated
2026-11-02
OSVopenSUSE-SU-2024:13422-1 No score

libnbd-1.18.1-2.1 on GA media

These are all security issues fixed in the libnbd-1.18.1-2.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:13422-1
Updated
2026-11-02
OSVSUSE-SU-2023:4463-1 No score

Security update for libnbd

This update for libnbd fixes the following issues:

  • CVE-2023-5871: Fixed an assertion problem in ext-mode BLOCK_STATUS (bsc#1216769).
Record
SUSE-SU-2023:4463-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
libnbd
AlmaLinux:9
From an advisory covering 2 CVEs
before 1.18.1-3.el9
1.18.1-3.el9
libnbd-bash-completion
AlmaLinux:9
From an advisory covering 2 CVEs
before 1.18.1-3.el9
1.18.1-3.el9
libnbd-devel
AlmaLinux:9
From an advisory covering 2 CVEs
before 1.18.1-3.el9
1.18.1-3.el9
nbdfuse
AlmaLinux:9
From an advisory covering 2 CVEs
before 1.18.1-3.el9
1.18.1-3.el9
ocaml-libnbd
AlmaLinux:9
From an advisory covering 2 CVEs
before 1.18.1-3.el9
1.18.1-3.el9
ocaml-libnbd-devel
AlmaLinux:9
From an advisory covering 2 CVEs
before 1.18.1-3.el9
1.18.1-3.el9
python3-libnbd
AlmaLinux:9
From an advisory covering 2 CVEs
before 1.18.1-3.el9
1.18.1-3.el9
libnbd
Debian:13
before 1.18.1-1
1.18.1-1
libnbd
Debian:14
before 1.18.1-1
1.18.1-1
libnbd
Red Hat:enterprise_linux:9::appstream
From an advisory covering 2 CVEs
before 0:1.18.1-3.el9
0:1.18.1-3.el9
Show 22 moreShow less
Affected packages
PackageAffectedFixed
libnbd-bash-completion
Red Hat:enterprise_linux:9::appstream
From an advisory covering 2 CVEs
before 0:1.18.1-3.el9
0:1.18.1-3.el9
libnbd-debuginfo
Red Hat:enterprise_linux:9::appstream
From an advisory covering 2 CVEs
before 0:1.18.1-3.el9
0:1.18.1-3.el9
libnbd-debugsource
Red Hat:enterprise_linux:9::appstream
From an advisory covering 2 CVEs
before 0:1.18.1-3.el9
0:1.18.1-3.el9
nbdfuse
Red Hat:enterprise_linux:9::appstream
From an advisory covering 2 CVEs
before 0:1.18.1-3.el9
0:1.18.1-3.el9
nbdfuse-debuginfo
Red Hat:enterprise_linux:9::appstream
From an advisory covering 2 CVEs
before 0:1.18.1-3.el9
0:1.18.1-3.el9
ocaml-libnbd-debuginfo
Red Hat:enterprise_linux:9::appstream
From an advisory covering 2 CVEs
before 0:1.18.1-3.el9
0:1.18.1-3.el9
python3-libnbd
Red Hat:enterprise_linux:9::appstream
From an advisory covering 2 CVEs
before 0:1.18.1-3.el9
0:1.18.1-3.el9
python3-libnbd-debuginfo
Red Hat:enterprise_linux:9::appstream
From an advisory covering 2 CVEs
before 0:1.18.1-3.el9
0:1.18.1-3.el9
libnbd-debuginfo
Red Hat:enterprise_linux:9::crb
From an advisory covering 2 CVEs
before 0:1.18.1-3.el9
0:1.18.1-3.el9
libnbd-debugsource
Red Hat:enterprise_linux:9::crb
From an advisory covering 2 CVEs
before 0:1.18.1-3.el9
0:1.18.1-3.el9
libnbd-devel
Red Hat:enterprise_linux:9::crb
From an advisory covering 2 CVEs
before 0:1.18.1-3.el9
0:1.18.1-3.el9
nbdfuse-debuginfo
Red Hat:enterprise_linux:9::crb
From an advisory covering 2 CVEs
before 0:1.18.1-3.el9
0:1.18.1-3.el9
ocaml-libnbd
Red Hat:enterprise_linux:9::crb
From an advisory covering 2 CVEs
before 0:1.18.1-3.el9
0:1.18.1-3.el9
ocaml-libnbd-debuginfo
Red Hat:enterprise_linux:9::crb
From an advisory covering 2 CVEs
before 0:1.18.1-3.el9
0:1.18.1-3.el9
ocaml-libnbd-devel
Red Hat:enterprise_linux:9::crb
From an advisory covering 2 CVEs
before 0:1.18.1-3.el9
0:1.18.1-3.el9
python3-libnbd-debuginfo
Red Hat:enterprise_linux:9::crb
From an advisory covering 2 CVEs
before 0:1.18.1-3.el9
0:1.18.1-3.el9
libnbd
openSUSE:Leap 15.4
before 1.18.1-150300.8.18.1
1.18.1-150300.8.18.1
libnbd
openSUSE:Leap 15.5
before 1.18.1-150300.8.18.1
1.18.1-150300.8.18.1
libnbd
Ubuntu:20.04:LTS
All versions, plus listed versions
1.0.3-11.2.1-21.2.2-1ubuntu2
None known
libnbd
Ubuntu:22.04:LTS
All versions, plus listed versions
1.6.3-11.8.5-11.10.2-11.10.5-1
None known
libnbd
Ubuntu:24.04:LTS
All versions, plus listed versions
1.16.4-11.18.1-11.18.2-11.18.2-1build11.18.2-21.18.2-2build11.20.0-1
None known
libnbd
openSUSE:Tumbleweed
before 1.18.1-2.1
1.18.1-2.1

History

History
RecordedChangedSources
affectedCVE List, NVD, OSV
factsEUVD
first indexedCVE List, EUVD, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2023-5871 is a medium vulnerability (CVSS 5.3) in Redhat Libnbd, published November 16, 2023. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.11%, the 66th percentile. Fixed in libnbd 1.18.1-1.

References

Show 22 moreShow less
MoveEnter Open