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.
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9583
http://www.vupen.com/english/advisories/2005/2418
http://www.securityfocus.com/bid/15427
http://www.redhat.com/support/errata/RHSA-2005-843.html
http://www.novell.com/linux/security/advisories/2005_28_sr.html
http://www.mandriva.com/security/advisories?name=MDKSA-2005:217
http://www.debian.org/security/2005/dsa-904
http://sourceforge.net/project/shownotes.php?release_id=370545
http://secunia.com/advisories/18517
http://secunia.com/advisories/18186
http://secunia.com/advisories/17828
http://secunia.com/advisories/17679