chunkcounter.cpp in KTorrent before 2.1.2 allows remote attackers to cause a denial of service (crash) and heap corruption via a negative or large idx value.
https://launchpad.net/bugs/91174
http://www.vupen.com/english/advisories/2007/0913
http://www.ubuntu.com/usn/usn-436-1
http://www.securitytracker.com/id?1017747
http://www.securityfocus.com/bid/22930
http://www.novell.com/linux/security/advisories/2007_007_suse.html
http://slackware.com/security/viewer.php?l=slackware-security&y=2007&m=slackware-security.401332
http://security.gentoo.org/glsa/glsa-200705-01.xml
http://secunia.com/advisories/25097
http://secunia.com/advisories/24995
http://secunia.com/advisories/24753
http://secunia.com/advisories/24486
http://secunia.com/advisories/24459