Buffer overflow in pamtofits of NetPBM 10.30 through 10.33 allows remote attackers to cause a denial of service (crash) and possibly execute arbitrary code when assembling the header, possibly related to an off-by-one error.
https://exchange.xforce.ibmcloud.com/vulnerabilities/27244
http://www.vupen.com/english/advisories/2006/2449
http://www.trustix.org/errata/2006/0037
http://www.securityfocus.com/bid/18525
http://sourceforge.net/project/shownotes.php?release_id=425770