BlogSafe.org

PHP CVEs

Vulnerabilities in the PHP language itself, and which PHP versions they affect.

← Back to CVE list

CVE-2005-1042

HIGH 7.5 CVSS 2.0
Published
May 2, 2005
Last modified
June 16, 2026
NVD status
Modified
Reported by
secalert@redhat.com
CVSS vector
AV:N/AC:L/Au:N/C:P/I:P/A:P

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 and versions

  • PHP versions 4.3.0, 4.3.1, 4.3.2, 4.3.3, 4.3.4, 4.3.5, 4.3.6, 4.3.7, 4.3.8, 4.3.9, 4.3.10

References

  • cvs.php.net http://cvs.php.net/diff.php/php-src/ext/exif/exif.c?r1=1.118.2.33&r2=1.118.2.34&ty=u Patch
  • lists.apple.com http://lists.apple.com/archives/security-announce/2005/Jun/msg00000.html
  • www.gentoo.org http://www.gentoo.org/security/en/glsa/glsa-200504-15.xml Patch
  • www.mandriva.com http://www.mandriva.com/security/advisories?name=MDKSA-2005:072
  • www.redhat.com http://www.redhat.com/support/errata/RHSA-2005-405.html
  • www.redhat.com http://www.redhat.com/support/errata/RHSA-2005-406.html
  • bugzilla.redhat.com https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=154021
  • oval.cisecurity.org https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10822
  • usn.ubuntu.com https://usn.ubuntu.com/112-1/
  • nvd.nist.gov Official NVD record