Vulnerabilities · 2005 · Php
CVE-2005-1042
Php vulnerability
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. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Php runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- cvs.php.net/diff.php/php-src/ext/exif/exif.c?r1=1.118.2.33&r2=1.118.2.34&ty=u · Patch
- www.gentoo.org/security/en/glsa/glsa-200504-15.xml · Patch
- lists.apple.com/archives/security-announce/2005/Jun/msg00000.html
- www.mandriva.com/security/advisories?name=MDKSA-2005:072
- www.redhat.com/support/errata/RHSA-2005-405.html
- www.redhat.com/support/errata/RHSA-2005-406.html
- bugzilla.redhat.com/bugzilla/show_bug.cgi?id=154021
- oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10822
- nvd.nist.gov/vuln/detail/CVE-2005-1042
- cve.org/CVERecord?id=CVE-2005-1042
More vulnerabilities in Php products
CVE-2025-14180CVE-2025-14178CVE-2025-14177CVE-2025-6491CVE-2025-1861CVE-2025-1736CVE-2025-1735CVE-2025-1734All 740
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.