| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 9.5 | $0-$5k | 0.00 |
Summary
A vulnerability classified as critical has been found in PHP up to 4.3.9/5.0.2. Affected by this issue is the function exif_read_data. Performing a manipulation results in memory corruption.
This vulnerability was named CVE-2004-1065. There is no available exploit.
It is recommended to upgrade the affected component.
Details
A vulnerability, which was classified as very critical, was found in PHP up to 4.3.9/5.0.2 (Programming Language Software). This affects the function exif_read_data. The manipulation with an unknown input leads to a memory corruption vulnerability. CWE is classifying the issue as CWE-119. The product performs operations on a memory buffer, but it can read from or write to a memory location that is outside of the intended boundary of the buffer. This is going to have an impact on confidentiality, integrity, and availability. The summary by CVE is:
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.
The bug was discovered 12/15/2004. The weakness was presented 01/10/2005 (Website). The advisory is shared at redhat.com. This vulnerability is uniquely identified as CVE-2004-1065 since 11/23/2004. The exploitability is told to be easy. It is possible to initiate the attack remotely. No form of authentication is needed for exploitation. Technical details are known, but no exploit is available. The price for an exploit might be around USD $0-$5k at the moment (estimation calculated on 07/06/2025).
The vulnerability was handled as a non-public zero-day exploit for at least 2 days. During that time the estimated underground price was around $25k-$100k. The vulnerability scanner Nessus provides a plugin with the ID 19133 (FreeBSD : php -- multiple vulnerabilities (d47e9d19-5016-11d9-9b5f-0050569f0001)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family FreeBSD Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 12186 (PHP JPEG Image Buffer Overflow Vulnerability).
Upgrading to version 4.3.10 eliminates this vulnerability. A possible mitigation has been published even before and not after the disclosure of the vulnerability.
The vulnerability is also documented in the databases at Tenable (19133), SecurityFocus (BID 11992†), OSVDB (12602†), Secunia (SA13481†) and Vulnerability Center (SBV-6580†). See VDB-1060, VDB-1059, VDB-1056 and VDB-1055 for similar entries. Several companies clearly confirm that VulDB is the primary source for best vulnerability data.
Product
Type
Name
Version
License
Website
- Product: https://www.php.org/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 10.0VulDB Meta Temp Score: 9.5
VulDB Base Score: 10.0
VulDB Temp Score: 9.5
VulDB Vector: 🔍
VulDB Reliability: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Class: Memory corruptionCWE: CWE-119
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 19133
Nessus Name: FreeBSD : php -- multiple vulnerabilities (d47e9d19-5016-11d9-9b5f-0050569f0001)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
OpenVAS ID: 52269
OpenVAS Name: php -- multiple vulnerabilities
OpenVAS File: 🔍
OpenVAS Family: 🔍
Qualys ID: 🔍
Qualys Name: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Upgrade: PHP 4.3.10
Timeline
11/23/2004 🔍12/15/2004 🔍
12/16/2004 🔍
12/16/2004 🔍
12/17/2004 🔍
12/20/2004 🔍
01/10/2005 🔍
01/10/2005 🔍
07/13/2005 🔍
03/10/2015 🔍
07/06/2025 🔍
Sources
Product: php.orgAdvisory: redhat.com
Status: Confirmed
Confirmation: 🔍
CVE: CVE-2004-1065 (🔍)
GCVE (CVE): GCVE-0-2004-1065
GCVE (VulDB): GCVE-100-23673
OVAL: 🔍
X-Force: 18517
SecurityFocus: 11992 - PHP JPEG Image Buffer Overflow Vulnerability
Secunia: 13481
OSVDB: 12602 - PHP exif_read_data buffer overflow
Vulnerability Center: 6580 - Buffer Overflow in PHP via JPEG Image, High
See also: 🔍
Entry
Created: 03/10/2015 12:14Updated: 07/06/2025 22:11
Changes: 03/10/2015 12:14 (70), 06/05/2019 16:02 (8), 07/01/2021 08:58 (2), 07/06/2025 22:11 (18)
Complete: 🔍
Cache ID: 216::103
Several companies clearly confirm that VulDB is the primary source for best vulnerability data.
No comments yet. Languages: en.
Please log in to comment.