Off-by-one error in the inflate function in Zlib.xs in Compress::Raw::Zlib Perl module before 2.017, as used in AMaViS, SpamAssassin, and possibly other products, allows context-dependent attackers to cause a denial of service (hang or crash) via a crafted zlib compressed stream that triggers a heap-based buffer overflow, as exploited in the wild by Trojan.Downloader-71014 in June 2009.
https://www.redhat.com/archives/fedora-package-announce/2009-July/msg00607.html
https://exchange.xforce.ibmcloud.com/vulnerabilities/51062
https://bugs.gentoo.org/show_bug.cgi?id=273141
http://www.vupen.com/english/advisories/2009/1571
http://www.mandriva.com/security/advisories?name=MDVSA-2009:157
http://thread.gmane.org/gmane.mail.virus.amavis.user/33635
http://security.gentoo.org/glsa/glsa-200908-07.xml
http://secunia.com/advisories/35876
http://secunia.com/advisories/35689
http://secunia.com/advisories/35685
http://secunia.com/advisories/35422
http://lists.opensuse.org/opensuse-security-announce/2009-07/msg00002.html