CVE-2005-1042 json
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 v…
published 2005-04-12 21 y ago modified 2026-06-16 4 mo ago also EUVD-2005-1045
- cvss
- 7.5
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 4.0%
- EPSS 4.0% chance of exploitation in 30 days, percentile 90%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- php RHEL 4 4.3.9-3.6
- php-gd RHEL 4 4.3.9-3.6
- php-imap RHEL 4 4.3.9-3.6
- php-ldap RHEL 4 4.3.9-3.6
- php-odbc RHEL 4 4.3.9-3.6
- php-pear RHEL 4 4.3.9-3.6
- php-snmp RHEL 4 4.3.9-3.6
- php-mysql RHEL 4 4.3.9-3.6
red hat advisories RHSA-2005:406RHSA-2005:405
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2005-1042 updated
security flaw
-
Red Hat Desktop version 3 php 4.3.2-23.ent, php-imap 4.3.2-23.ent, php-ldap 4.3.2-23.ent, php-odbc 4.3.2-23.ent, php-mysql 4.3.2-23.ent, php-pgsql 4.3.2-23.ent Red Hat Enterprise Linux AS version 3 php 4.3.2-23.ent, php-imap 4.3.2-23.ent, php-ldap 4.3.2-23.ent, php-odbc 4.3.2-23.ent, php-mysql 4.3.2-23.ent, php-pgsql 4.3.2-23.entfixed: vendor fix RHSA-2005:405
-
Red Hat Enterprise Linux AS version 4 php 4.3.9-3.6, php-gd 4.3.9-3.6, php-imap 4.3.9-3.6, php-ldap 4.3.9-3.6, php-odbc 4.3.9-3.6, php-pear 4.3.9-3.6, +7 more Red Hat Enterprise Linux Desktop version 4 php 4.3.9-3.6, php-gd 4.3.9-3.6, php-imap 4.3.9-3.6, php-ldap 4.3.9-3.6, php-odbc 4.3.9-3.6, php-pear 4.3.9-3.6, +7 morefixed: vendor fix RHSA-2005:406
-
Red Hat Enterprise Linux ES version 3 php 4.3.2-23.ent, php-imap 4.3.2-23.ent, php-ldap 4.3.2-23.ent, php-odbc 4.3.2-23.ent, php-mysql 4.3.2-23.ent, php-pgsql 4.3.2-23.entfixed: vendor fix RHSA-2005:405
-
Red Hat Enterprise Linux ES version 4 php 4.3.9-3.6, php-gd 4.3.9-3.6, php-imap 4.3.9-3.6, php-ldap 4.3.9-3.6, php-odbc 4.3.9-3.6, php-pear 4.3.9-3.6, +7 morefixed: vendor fix RHSA-2005:406
-
Red Hat Enterprise Linux WS version 3 php 4.3.2-23.ent, php-imap 4.3.2-23.ent, php-ldap 4.3.2-23.ent, php-odbc 4.3.2-23.ent, php-mysql 4.3.2-23.ent, php-pgsql 4.3.2-23.entfixed: vendor fix RHSA-2005:405
-
Red Hat Enterprise Linux WS version 4 php 4.3.9-3.6, php-gd 4.3.9-3.6, php-imap 4.3.9-3.6, php-ldap 4.3.9-3.6, php-odbc 4.3.9-3.6, php-pear 4.3.9-3.6, +7 morefixed: vendor fix RHSA-2005:406
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
4.02% chance of exploitation in the next 30 days, higher than 90% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Classification
- Technology feeds
References
-
gentoo.org
/security/en/glsa/glsa-200504-15.xml
vendor-advisory, patch
-
cvs.php.net
/diff.php/php-src/ext/exif/exif.c?r1=1.118.2.33&r2=1.118.2.34&ty=u
patch
-
redhat.com
/support/errata/RHSA-2005-406.html
vendor-advisory
-
mandriva.com
/security/advisories?name=MDKSA-2005:072
vendor-advisory
-
lists.apple.com
/archives/security-announce/2005/Jun/msg00000.html
vendor-advisory
-
usn.ubuntu.com
/112-1/
vendor-advisory
-
redhat.com
/support/errata/RHSA-2005-405.html
vendor-advisory
-
oval.cisecurity.org
/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10822
vdb-entry, signature
- bugzilla.redhat.com /bugzilla/show_bug.cgi?id=154021
Sources
- CVE List CVE-2005-1042
- NVD CVE-2005-1042
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.