Input validation error in PHP - CVE-2004-0959

 

Input validation error in PHP - CVE-2004-0959

Published: October 11, 2017 / Updated: June 8, 2025


Vulnerability identifier: #VU110520
CSH Severity: Low
CVSS v4: 4.8 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2004-0959
CWE-ID: CWE-20
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a local user to corrupt data.

rfc1867.c in PHP before 5.0.2 allows local users to upload files to arbitrary locations via a PHP script with a certain MIME header that causes the "$_FILES" array to be modified.


Affected software

PHP

How to mitigate CVE-2004-0959

Install update from vendor's website.

PHP - update to 5.0.2

External References

Related Security Bulletins