CVE-2005-3662 Memory corruption in n/a

Medium 4.6 Published Updated

Attackers can cause crashes or execute arbitrary code via crafted PNM files when the -alpha option is used in pnmtopng.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2005-3662?

CVE-2005-3662 is a medium-severity memory corruption vulnerability in n/a, published on 18 Nov 2005. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

Off-by-one buffer overflow in pnmtopng before 2.39, when using the -alpha command line option (Alphas_Of_Color), allows attackers to cause a denial of service (crash) and possibly execute arbitrary code via a crafted PNM file with exactly 256 colors.

Weakness: CWE-119

Which versions are affected by CVE-2005-3662?

It affects 1 product.

Products include Greg Roelofs Pnmtopng.

How do I fix CVE-2005-3662?

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-2005-3662 being exploited?

There is no known exploitation of CVE-2005-3662 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2005-3662, GHSA-69w9-429r-r7vm.

Is CVE-2005-3662 in your software?

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

Check your SBOMs for free