Multiple buffer overflows in abcm2ps before 5.9.12 might allow remote attackers to execute arbitrary code via (1) a crafted input file, related to the PUT0 and PUT1 output macros; (2) a crafted input file, related to the trim_title function; and possibly (3) a long -O option on a command line.
Gentoo Linux Security Advisory 201111-12 - Multiple vulnerabilities, including buffer overflows, have been found in abcm2ps. Versions less than 5.9.13 are affected.