Description
Integer overflow in the exif_process_IFD_TAG function in exif.c in PHP before 4.3.11 may allow remote attackers to execute arbitrary code via an IFD tag that leads to a negative byte count.
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
- RHSA-2005:406 vendor-advisory
- MDKSA-2005:072 vendor-advisory
- oval:org.mitre.oval:def:10822 vdb-entry signature
- GLSA-200504-15 vendor-advisory
- APPLE-SA-2005-06-08 vendor-advisory
- https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=154021
- USN-112-1 vendor-advisory
- RHSA-2005:405 vendor-advisory
- http://cvs.php.net/diff.php/php-src/ext/exif/exif.c?r1=1.118.2.33&r2=1.118.2.34&ty=u