Heap-based buffer overflow in the ReadPCXImage function in the PCX coder in coders/pcx.c in (1) ImageMagick 6.2.4-5 and 6.2.8-0 and (2) GraphicsMagick (aka gm) 1.1.7 allows user-assisted remote attackers to cause a denial of service (crash) or possibly execute arbitrary code via a crafted .pcx file that triggers incorrect memory allocation for the scanline array, leading to memory corruption.
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11237
https://exchange.xforce.ibmcloud.com/vulnerabilities/41193
http://www.securitytracker.com/id?1019881
http://www.securityfocus.com/bid/28822
http://www.redhat.com/support/errata/RHSA-2008-0165.html
http://www.redhat.com/support/errata/RHSA-2008-0145.html
http://www.mandriva.com/security/advisories?name=MDVSA-2008:099
http://www.debian.org/security/2009/dsa-1858
http://security.gentoo.org/glsa/glsa-201311-10.xml
http://secunia.com/advisories/55721
http://secunia.com/advisories/36260
http://secunia.com/advisories/30967
http://secunia.com/advisories/29857
http://secunia.com/advisories/29786
http://lists.opensuse.org/opensuse-security-announce/2008-07/msg00001.html