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…

published December 22, 2004

CVSS
—
EPSS
10%
Percentile
95.6
In the wild
Unconfirmed
What it is

⚠️ A single long section name in an image could spell disaster for your server! This buffer overflow in PHP's exif_read_data function has the potential for remote attackers to execute arbitrary code. 🔥 Think of it like a delivery driver who accepts any package without checking the label. If the package is too big or has the wrong contents, it can cause chaos in the whole system! An attacker could exploit this vulnerability to run malicious code on your server, leading to potential data breaches or even a full system compromise. It's like inviting a stranger into your house without knowing their intentions!

Put simply

Think of it like a delivery driver who accepts any package without checking the label. If the package is too big or has the wrong contents, it can cause chaos in the whole system! This buffer overflow occurs in the exif_read_data function within PHP versions before 4.3.10 and up to 5.0.2, allowing attackers to manipulate input through a crafted image file section name, which can overflow the buffer and execute arbitrary code.

What to do

An attacker could exploit this vulnerability to run malicious code on your server, leading to potential data breaches or even a full system compromise. It's like inviting a stranger into your house without knowing their intentions! Upgrade your PHP version to at least 4.3.10 or 5.0.3 to eliminate this vulnerability. Additionally, consider implementing strict input validation for any file uploads, especially images, to keep your server safe. 🛡️ You've got this! Take these steps to secure your PHP environment and keep those bad guys at bay! 🚀

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.10042 · 95.6th percentile
Published
2004-12-22T05:00Z
EPSS history
Timeline
  • 22 DEC 05:00Z
    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…
    cvelistv5