What’s Vulnerable › Vulnerabilities
CVE-2005-1042
- Severity: high (CVSS 7.5 v2.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 4.0% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2005-05-02 · updated 2026-06-16
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.
Affected products
- PHP: 4.3.0, 4.3.1, 4.3.2, 4.3.3, 4.3.4, 4.3.5 (+5)
References
- http://cvs.php.net/diff.php/php-src/ext/exif/exif.c?r1=1.118.2.33&r2=1.118.2.34&ty=u
- http://lists.apple.com/archives/security-announce/2005/Jun/msg00000.html
- http://www.gentoo.org/security/en/glsa/glsa-200504-15.xml
- http://www.mandriva.com/security/advisories?name=MDKSA-2005:072
- http://www.redhat.com/support/errata/RHSA-2005-405.html
- http://www.redhat.com/support/errata/RHSA-2005-406.html
- https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=154021
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10822
- https://usn.ubuntu.com/112-1/
- http://cvs.php.net/diff.php/php-src/ext/exif/exif.c?r1=1.118.2.33&r2=1.118.2.34&ty=u
- http://lists.apple.com/archives/security-announce/2005/Jun/msg00000.html
- http://www.gentoo.org/security/en/glsa/glsa-200504-15.xml
Get alerted when CVE-2005-1042 or the next vulnerability affects your stack