Description
Buffer overflow in the Network Block Device (nbd) server 2.7.5 and earlier, and 2.8.0 through 2.8.2, allows remote attackers to execute arbitrary code via a large request, which is written past the end of the buffer because nbd does not account for memory taken by the reply header.
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 ↗openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | nbd | 3.21-1.7 | openSUSE-SU-2024:11077-1 |
Advisories 2
- DSA-924-1 nbd - buffer overflow Debian Security (DSA / DLA) · Mar 9, 2026
- openSUSE-SU-2024:11077-1 nbd-3.21-1.7 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
References
- 43610 third-party-advisory
- 18503 third-party-advisory
- DSA-924 vendor-advisory
- 21848 vdb-entry
- 18209 third-party-advisory
- USN-237-1 vendor-advisory
- 18171 third-party-advisory
- 16029 vdb-entry
- 18135 third-party-advisory
- GLSA-200512-14 vendor-advisory
- http://sourceforge.net/project/shownotes.php?release_id=380210&group_id=13229
- http://sourceforge.net/mailarchive/forum.php?thread_id=9201144&forum_id=40388
- http://sourceforge.net/project/shownotes.php?release_id=380202&group_id=13229
- http://bugs.gentoo.org/show_bug.cgi?id=116314
- 43353 third-party-advisory
- 18315 third-party-advisory