CVE-2009-1391: Off-by-one error in the inflate function in Zlib.xs in Compress::Raw::Zlib Perl module before 2.017, as used i
CVE-2009-1391 is a medium-severity flaw (CVSS 6.8) affecting compress-raw-zlib perl module. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- EPSS top 6%: very likely to be exploited
- Public exploit reference
A fixed release or distro patch exists.
Risk facts
| CVSS score | 6.8 (Medium) |
| EPSS exploit chance | 7.4% (top 6%) |
| CISA exploited list | No |
| Weakness | CWE-189 |
| Published | 2009-06-16 |
| Last modified | 2026-06-16 |
Last updated 2026-06-16 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2009-1391?
compress-raw-zlib perl module: upgrade to newer than 2.015. Exact commands for each OS are on this page.
Is CVE-2009-1391 being exploited?
CVE-2009-1391 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2009-1391 affect?
CVE-2009-1391 affects compress-raw-zlib perl module. Severity is medium (CVSS 6.8). 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 cras
How urgent is CVE-2009-1391?
Priority 52/100. EPSS top 6%: very likely to be exploited; Public exploit reference
Software pages
Perl vulnerabilities · zlib vulnerabilities