Description
Multiple buffer overflows in libmusicbrainz (aka mb_client or MusicBrainz Client Library) 2.1.2 and earlier, and SVN 8406 and earlier, allow remote attackers to cause a denial of service (crash) or execute arbitrary code via (1) a long Location header by the HTTP server, which triggers an overflow in the MBHttp::Download function in lib/http.cpp; and (2) a long URL in RDF data, as demonstrated by a URL in an rdf:resource field in an RDF XML document, which triggers overflows in many functions in lib/rdfparse.c.
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 ↗Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Exploit-DB 1
- Libmusicbrainz 2.0.2/2.1.x - Multiple Buffer Overflow Vulnerabilities EDB-28384 · dos · Aug 14, 2006 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 1
- DSA-1162 libmusicbrainz-2.0 - buffer overflows Debian Security (DSA / DLA) · Mar 9, 2026
References
- DSA-1162 vendor-advisory
- 22393 third-party-advisory
- 22191 third-party-advisory
- libmusicbrainz-mbhttpdownload-bo(28367) vdb-entry
- 22639 third-party-advisory
- 21404 third-party-advisory
- https://issues.rpath.com/browse/RPL-610
- USN-363-1 vendor-advisory
- 19508 vdb-entry
- GLSA-200610-09 vendor-advisory
- 22517 third-party-advisory
- SUSE-SR:2006:025 vendor-advisory
- http://aluigi.altervista.org/adv/brainzbof-adv.txt
- 21699 third-party-advisory
- 20060830 rPSA-2006-0161-1 libmusicbrainz mailing-list
- libmusicbrainz-rdfparse-bo(28368) vdb-entry
- 21668 third-party-advisory
- 20060813 Multiple buffer-overflows in libmusicbrainz 2.1.2 mailing-list
- 1016691 vdb-entry
- MDKSA-2006:157 vendor-advisory
- 1399 third-party-advisory