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 atta
CVE-2004-1065 is a high-severity flaw (CVSS 10.0) affecting openpkg, php, secure linux. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- Critical severity
- EPSS top 4%: very likely to be exploited
- On your watchlist
No fix is published yet: follow the downgrade or mitigation steps.
Risk facts
| CVSS score | 10.0 (High) |
| EPSS exploit chance | 10.0% (top 4%) |
| CISA exploited list | No |
| Published | 2005-01-10 |
| Last modified | 2026-06-16 |
Last updated 2026-06-16 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2004-1065?
openpkg: downgrade or apply the listed mitigation; php: downgrade or apply the listed mitigation; secure linux: mitigate or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2004-1065 being exploited?
CVE-2004-1065 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2004-1065 affect?
CVE-2004-1065 affects openpkg, php, secure linux. Severity is high (CVSS 10.0). 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.
How urgent is CVE-2004-1065?
Priority 64/100. Critical severity; EPSS top 4%: very likely to be exploited; On your watchlist
Software pages
PHP vulnerabilities · Ubuntu vulnerabilities
Related CVEs
- CVE-2007-5116 HIGH 7.5 DOWNGRADE DOWNGRADE Buffer overflow in the polymorphic opcode support in the Regular Expression Engine (regcomp.c) in Perl 5.8 all
- CVE-2005-0373 HIGH 7.5 DOWNGRADE DOWNGRADE Buffer overflow in digestmd5.c CVS release 1.170 (also referred to as digestmda5.c), as used in the DIGEST-MD5
- CVE-2004-1997 MEDIUM 4.6 DOWNGRADE DOWNGRADE Kolab stores OpenLDAP passwords in plaintext in the slapd.conf file, which may be installed world-readable, wh
- CVE-2004-1471 HIGH 7.1 DOWNGRADE DOWNGRADE Format string vulnerability in wrapper.c in CVS 1.12.x through 1.12.8, and 1.11.x through 1.11.16 allows remot
- CVE-2004-1019 HIGH 10.0 DOWNGRADE DOWNGRADE The deserialization code in PHP before 4.3.10 and PHP 5.x up to 5.0.2 allows remote attackers to cause a denia