Description
Buffer overflow in the mainloop function in nbd-server.c in the server in Network Block Device (nbd) before 2.9.20 might allow remote attackers to execute arbitrary code via a long request. NOTE: this issue exists because of a CVE-2005-3534 regression.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | nbd | 1:2.9.16-8 | — |
| Debian 13 | nbd | 1:2.9.16-8 | — |
| Debian 12 | nbd | 1:2.9.16-8 | — |
| Debian 5.0 | nbd | 1:2.9.11-3lenny1 | DSA-2183-1 |
Advisories 1
- DSA-2183-1 nbd - arbitrary code execution Debian Security (DSA / DLA) · Mar 9, 2026
References
- GLSA-201206-35 vendor-advisory
- https://github.com/yoe/nbd/commit/3ef52043861ab16352d49af89e048ba6339d6df8
- 43610 third-party-advisory
- FEDORA-2011-1097 vendor-advisory
- ADV-2011-0403 vdb-entry
- https://bugzilla.redhat.com/show_bug.cgi?id=673562
- [oss-security] 20110128 CVE Request -- NDB: CVE-2005-3534 reintroduced in upstream nbd-v2.9.0 version mailing-list
- SUSE-SR:2011:005 vendor-advisory
- networkblock-nbdserver-bo(65720) vdb-entry
- [oss-security] 20110131 Re: CVE Request -- NDB: CVE-2005-3534 reintroduced in upstream nbd-v2.9.0 version mailing-list
- ADV-2011-0582 vdb-entry
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=611187
- FEDORA-2011-1108 vendor-advisory
- 46572 vdb-entry
- openSUSE-SU-2011:0193 vendor-advisory
- DSA-2183 vendor-advisory
- 43353 third-party-advisory