CVE-2005-3662

pnmtopng - Buffer Overflow via -alpha Option with 256-Color PNM File

Title source: llm
STIX 2.1

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.

References (16)

Core 16
Core References
Patch, Vendor Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/17544
Third Party Advisory, VDB Entry vdb-entry signature x_refsource_oval
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9583
Vendor Advisory vendor-advisory x_refsource_suse
http://www.novell.com/linux/security/advisories/2005_28_sr.html
Vendor Advisory vendor-advisory x_refsource_redhat
http://www.redhat.com/support/errata/RHSA-2005-843.html
Third Party Advisory, VDB Entry vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/15427
Vendor Advisory vendor-advisory x_refsource_sgi
ftp://patches.sgi.com/support/free/security/advisories/20060101-01-U
Vendor Advisory vdb-entry x_refsource_vupen
http://www.vupen.com/english/advisories/2005/2418
Vendor Advisory vendor-advisory x_refsource_mandriva
http://www.mandriva.com/security/advisories?name=MDKSA-2005:217
Vendor Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/17679
Vendor Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/17828
Vendor Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/18186
Vendor Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/18517
Vendor Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/17671
Vendor Advisory vendor-advisory x_refsource_ubuntu
https://usn.ubuntu.com/218-1/
Third Party Advisory vendor-advisory x_refsource_debian
http://www.debian.org/security/2005/dsa-904

Scores

EPSS 0.0060
EPSS Percentile 44.7%

Details

CWE
CWE-119
Status published
Products (5)
greg_roelofs/pnmtopng 2.37.3
greg_roelofs/pnmtopng 2.37.4
greg_roelofs/pnmtopng 2.37.5
greg_roelofs/pnmtopng 2.37.6
greg_roelofs/pnmtopng 2.38
Published Nov 18, 2005
Tracked Since Feb 18, 2026