Heap-based buffer overflow in psd.c for ImageMagick 6.1.0, 6.1.7, and possibly earlier versions allows remote attackers to execute arbitrary code via a .PSD image file with a large number of layers.
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9925
http://www.redhat.com/support/errata/RHSA-2005-071.html
http://www.redhat.com/support/errata/RHSA-2005-070.html
http://www.gentoo.org/security/en/glsa/glsa-200501-37.xml