Description
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.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 4 | php +13 | 4.3.9-3.6 | RHSA-2005:406 |
| RHEL 3 | php +6 | 4.3.2-23.ent | RHSA-2005:405 |
Advisories 2
- RHSA-2005:405 Red Hat Security Advisory: PHP security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- RHSA-2005:406 Red Hat Security Advisory: PHP security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
References
- 15183 vdb-entry
- 1013619 vdb-entry
- RHSA-2005:406 vendor-advisory
- php-phphandleiff-dos(19920) vdb-entry
- MDKSA-2005:072 vendor-advisory
- GLSA-200504-15 vendor-advisory
- APPLE-SA-2005-06-08 vendor-advisory
- oval:org.mitre.oval:def:9310 vdb-entry signature
- 14792 third-party-advisory
- ADV-2005-0305 vdb-entry
- 20050331 PHP getimagesize() Multiple Denial of Service Vulnerabilities third-party-advisory
- RHSA-2005:405 vendor-advisory