| Name | CVE-2015-5685 | 
| Description | The lazy_bdecode function in BitTorrent DHT bootstrap server (bootstrap-dht ) allows remote attackers to execute arbitrary code via a crafted packet, related to "improper indexing." | 
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) | 
| References | DLA-312-1 | 
| Debian Bugs | 797046 | 
Vulnerable and fixed packages
The table below lists information on source packages.
| Source Package | Release | Version | Status | 
|---|
| libtorrent-rasterbar (PTS) | bullseye | 1.2.9-0.3 | fixed | 
|  | bookworm | 2.0.8-1 | fixed | 
|  | forky, sid, trixie | 2.0.11-1 | fixed | 
The information below is based on the following data on fixed versions.
Notes
[jessie] - libtorrent-rasterbar <no-dsa> (Minor issue)
[wheezy] - libtorrent-rasterbar <no-dsa> (Minor issue)
Even though the CVE mentions BitTorrent DHT Bootstrap server, the vulnerable lazy_bdecode() function is effectively also available in libtorrent-rasterbar in all Debian releases.
Patch on libtorrent-rasterbar that has been applied in 1.0.6: https://github.com/arvidn/libtorrent/commit/d9945f6f50a8c967888cd9c2ebe65ffbe462056e