CVE-2005-1042

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.

Published: 2005-05-02 Last update: 2026-06-16 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2005-1042 is rated Moderate Risk (59.1/100): CVSS High severity, with medium exploitation likelihood (EPSS 4.02%). Mandatory action: Review affected assets and schedule remediation.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2005-1042

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-06-15 6.10% 4.02% -2.08%
2 2025-12-28 4.92% 6.10% +1.18%
3 2025-12-27 4.92%

Full EPSS history (15 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2005-1042

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
7.5 2.0 HIGH
AV:N/AC:L/Au:N/C:P/I:P/A:P Click to expand
Access vector (AV:N)
Can be exploited remotely over network reachability.
Access complexity (AC:L)
Exploitation conditions are straightforward and predictable.
Authentication (AU:N)
No authentication is required.
Confidentiality impact (C:P)
Partial confidentiality impact.
Integrity impact (I:P)
Partial integrity impact.
Availability impact (A:P)
Partial availability impact.
10.0 6.4 [email protected]

Weakness enumeration for CVE-2005-1042

OS Trackers for CVE-2005-1042

vendor priority summary link
redhat medium https://access.redhat.com/security/cve/CVE-2005-1042
suse medium https://www.suse.com/security/cve/CVE-2005-1042/
ubuntu medium CVE-2005-1042 medium priority: Ubuntu including 2 source packages (php4, php5), 8 status rows across 4 suites (dapper, edgy, feisty, upstream): released 5, needs-triage 2, DNE 1. https://ubuntu.com/security/CVE-2005-1042

Affected software / configurations for CVE-2005-1042

Vendor Product Version Raw CPE
php php 4.3.0 cpe:2.3:a:php:php:4.3.0:*:*:*:*:*:*:*
php php 4.3.1 cpe:2.3:a:php:php:4.3.1:*:*:*:*:*:*:*
php php 4.3.2 cpe:2.3:a:php:php:4.3.2:*:*:*:*:*:*:*
php php 4.3.3 cpe:2.3:a:php:php:4.3.3:*:*:*:*:*:*:*
php php 4.3.4 cpe:2.3:a:php:php:4.3.4:*:*:*:*:*:*:*
php php 4.3.5 cpe:2.3:a:php:php:4.3.5:*:*:*:*:*:*:*
php php 4.3.6 cpe:2.3:a:php:php:4.3.6:*:*:*:*:*:*:*
php php 4.3.7 cpe:2.3:a:php:php:4.3.7:*:*:*:*:*:*:*
php php 4.3.8 cpe:2.3:a:php:php:4.3.8:*:*:*:*:*:*:*
php php 4.3.9 cpe:2.3:a:php:php:4.3.9:*:*:*:*:*:*:*
php php 4.3.10 cpe:2.3:a:php:php:4.3.10:*:*:*:*:*:*:*

References for CVE-2005-1042

cvelogic Threat Intelligence