Skip to content
OpenAdvisories
Unscored Public exploit CVE-2009-1391 EUVD-2009-1389GHSA-353f-jcfv-fpmh

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 p…

Published Jun 16, 2009 · Updated Aug 7, 2024 · Assigned by redhat

Description

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.

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.

ReleasePackageFixed inAdvisory
Debian 14 libcompress-raw-zlib-perl 2.015-2 —
Debian 14 perl 5.10.0-23 —
Debian 13 libcompress-raw-zlib-perl 2.015-2 —
Debian 13 perl 5.10.0-23 —
Debian 12 libcompress-raw-zlib-perl 2.015-2 —
Debian 12 perl 5.10.0-23 —

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.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Exploit-DB 1

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

References