CVE-2004-1065

Buffer overflow in the exif_read_data function in PHP before 4.3.10 and PHP 5.x up to 5.0.2 allows remote attackers to execute arbitrary code via a long section name in an image file.

Published: 2005-01-10 Last update: 2026-06-16 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2004-1065 is rated High Risk (76.1/100): CVSS Critical severity, with high exploitation likelihood (EPSS 10.04%, 95th percentile). Core evidence: EPSS ranks this CVE among the most likely to be exploited in the near term. EPSS rose +2.88% over the last day, indicating growing attacker interest. Mandatory action: High exploitation likelihood—assess exposure and prioritize 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-2004-1065

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 7.16% 10.04% +2.88%
2 2025-12-28 6.91% 7.16% +0.26%
3 2025-12-27 6.91%

Full EPSS history (19 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2004-1065

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
10.0 2.0 HIGH
AV:N/AC:L/Au:N/C:C/I:C/A:C 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:C)
Complete confidentiality impact.
Integrity impact (I:C)
Complete integrity impact.
Availability impact (A:C)
Complete availability impact.
10.0 10.0 [email protected]

Weakness enumeration for CVE-2004-1065

OS Trackers for CVE-2004-1065

vendor priority summary link
gentoo high CVE-2004-1065: 1 GLSA(s) (200412-14), 3 atom(s) (dev-php/mod_php, dev-php/php, dev-php/php-cgi); latest impact high. https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2004-1065
redhat high https://access.redhat.com/security/cve/CVE-2004-1065
ubuntu medium CVE-2004-1065 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-2004-1065

Affected software / configurations for CVE-2004-1065

Vendor Product Version Raw CPE
openpkg openpkg 2.1 cpe:2.3:a:openpkg:openpkg:2.1:*:*:*:*:*:*:*
openpkg openpkg 2.2 cpe:2.3:a:openpkg:openpkg:2.2:*:*:*:*:*:*:*
openpkg openpkg current cpe:2.3:a:openpkg:openpkg:current:*:*:*:*:*:*:*
php php 3.0 cpe:2.3:a:php:php:3.0:*:*:*:*:*:*:*
php php 3.0.1 cpe:2.3:a:php:php:3.0.1:*:*:*:*:*:*:*
php php 3.0.2 cpe:2.3:a:php:php:3.0.2:*:*:*:*:*:*:*
php php 3.0.3 cpe:2.3:a:php:php:3.0.3:*:*:*:*:*:*:*
php php 3.0.4 cpe:2.3:a:php:php:3.0.4:*:*:*:*:*:*:*
php php 3.0.5 cpe:2.3:a:php:php:3.0.5:*:*:*:*:*:*:*
php php 3.0.6 cpe:2.3:a:php:php:3.0.6:*:*:*:*:*:*:*
php php 3.0.7 cpe:2.3:a:php:php:3.0.7:*:*:*:*:*:*:*
php php 3.0.8 cpe:2.3:a:php:php:3.0.8:*:*:*:*:*:*:*
php php 3.0.9 cpe:2.3:a:php:php:3.0.9:*:*:*:*:*:*:*
php php 3.0.10 cpe:2.3:a:php:php:3.0.10:*:*:*:*:*:*:*
php php 3.0.11 cpe:2.3:a:php:php:3.0.11:*:*:*:*:*:*:*
php php 3.0.12 cpe:2.3:a:php:php:3.0.12:*:*:*:*:*:*:*
php php 3.0.13 cpe:2.3:a:php:php:3.0.13:*:*:*:*:*:*:*
php php 3.0.14 cpe:2.3:a:php:php:3.0.14:*:*:*:*:*:*:*
php php 3.0.15 cpe:2.3:a:php:php:3.0.15:*:*:*:*:*:*:*
php php 3.0.16 cpe:2.3:a:php:php:3.0.16:*:*:*:*:*:*:*
php php 3.0.17 cpe:2.3:a:php:php:3.0.17:*:*:*:*:*:*:*
php php 3.0.18 cpe:2.3:a:php:php:3.0.18:*:*:*:*:*:*:*
php php 4.0 cpe:2.3:a:php:php:4.0:*:*:*:*:*:*:*
php php 4.0.1 cpe:2.3:a:php:php:4.0.1:*:*:*:*:*:*:*
php php 4.0.1 cpe:2.3:a:php:php:4.0.1:patch1:*:*:*:*:*:*
php php 4.0.1 cpe:2.3:a:php:php:4.0.1:patch2:*:*:*:*:*:*
php php 4.0.2 cpe:2.3:a:php:php:4.0.2:*:*:*:*:*:*:*
php php 4.0.3 cpe:2.3:a:php:php:4.0.3:*:*:*:*:*:*:*
php php 4.0.3 cpe:2.3:a:php:php:4.0.3:patch1:*:*:*:*:*:*
php php 4.0.4 cpe:2.3:a:php:php:4.0.4:*:*:*:*:*:*:*
php php 4.0.5 cpe:2.3:a:php:php:4.0.5:*:*:*:*:*:*:*
php php 4.0.6 cpe:2.3:a:php:php:4.0.6:*:*:*:*:*:*:*
php php 4.0.7 cpe:2.3:a:php:php:4.0.7:*:*:*:*:*:*:*
php php 4.0.7 cpe:2.3:a:php:php:4.0.7:rc1:*:*:*:*:*:*
php php 4.0.7 cpe:2.3:a:php:php:4.0.7:rc2:*:*:*:*:*:*
php php 4.0.7 cpe:2.3:a:php:php:4.0.7:rc3:*:*:*:*:*:*
php php 4.1.0 cpe:2.3:a:php:php:4.1.0:*:*:*:*:*:*:*
php php 4.1.1 cpe:2.3:a:php:php:4.1.1:*:*:*:*:*:*:*
php php 4.1.2 cpe:2.3:a:php:php:4.1.2:*:*:*:*:*:*:*
php php 4.2 cpe:2.3:a:php:php:4.2:*:dev:*:*:*:*:*
php php 4.2.0 cpe:2.3:a:php:php:4.2.0:*:*:*:*:*:*:*
php php 4.2.1 cpe:2.3:a:php:php:4.2.1:*:*:*:*:*:*:*
php php 4.2.2 cpe:2.3:a:php:php:4.2.2:*:*:*:*:*:*:*
php php 4.2.3 cpe:2.3:a:php:php:4.2.3:*:*:*:*:*:*:*
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 5.0 cpe:2.3:a:php:php:5.0:rc1:*:*:*:*:*:*
php php 5.0 cpe:2.3:a:php:php:5.0:rc2:*:*:*:*:*:*
php php 5.0 cpe:2.3:a:php:php:5.0:rc3:*:*:*:*:*:*
php php 5.0.0 cpe:2.3:a:php:php:5.0.0:*:*:*:*:*:*:*
php php 5.0.1 cpe:2.3:a:php:php:5.0.1:*:*:*:*:*:*:*
php php 5.0.2 cpe:2.3:a:php:php:5.0.2:*:*:*:*:*:*:*
trustix secure_linux 2.0 cpe:2.3:o:trustix:secure_linux:2.0:*:*:*:*:*:*:*
trustix secure_linux 2.1 cpe:2.3:o:trustix:secure_linux:2.1:*:*:*:*:*:*:*
trustix secure_linux 2.2 cpe:2.3:o:trustix:secure_linux:2.2:*:*:*:*:*:*:*
ubuntu ubuntu_linux 4.1 cpe:2.3:o:ubuntu:ubuntu_linux:4.1:*:ia64:*:*:*:*:*
ubuntu ubuntu_linux 4.1 cpe:2.3:o:ubuntu:ubuntu_linux:4.1:*:ppc:*:*:*:*:*

References for CVE-2004-1065

cvelogic Threat Intelligence