The php_handle_iff function in image.c for PHP 4.2.2, 4.3.9, 4.3.10 and 5.0.3, as reachable by the getimagesize PHP function, allows remote attackers to cause a denial of service (infinite loop) via a -8 size value.
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9310
https://exchange.xforce.ibmcloud.com/vulnerabilities/19920
http://www.vupen.com/english/advisories/2005/0305
http://www.securityfocus.com/archive/1/394797
http://www.redhat.com/support/errata/RHSA-2005-406.html
http://www.redhat.com/support/errata/RHSA-2005-405.html
http://www.mandriva.com/security/advisories?name=MDKSA-2005:072
http://www.gentoo.org/security/en/glsa/glsa-200504-15.xml
http://securitytracker.com/id?1013619
http://secunia.com/advisories/14792
http://lists.apple.com/archives/security-announce/2005/Jun/msg00000.html