CVE-2009-1391 Memory corruption in n/a

Medium 6.8 Published Updated

A heap-based buffer overflow in the Perl Compress::Raw::Zlib module allows remote attackers to cause a denial of service via a crafted compressed stream.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2009-1391?

CVE-2009-1391 is a medium-severity memory corruption vulnerability in n/a, published on 16 Jun 2009. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-189

Which versions are affected by CVE-2009-1391?

It affects 1 product.

Products include Paul Marquess Compress-Raw-Zlib Perl Module.

How do I fix CVE-2009-1391?

Upgrade to a fixed version.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2009-1391 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2009-1391 exists.

Public exploit code: 1 Exploit-DB entry.

Sources

Also known as DEBIAN-CVE-2009-1391, GHSA-353f-jcfv-fpmh.

Is CVE-2009-1391 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free