Input validation error in PHP - CVE-2004-1019

 

Input validation error in PHP - CVE-2004-1019

Published: October 30, 2018 / Updated: June 8, 2025


Vulnerability identifier: #VU110513
CSH Severity: High
CVSS v4: 9.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2004-1019
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote non-authenticated attacker to execute arbitrary code.

The deserialization code in PHP before 4.3.10 and PHP 5.x up to 5.0.2 allows remote attackers to cause a denial of service and execute arbitrary code via untrusted data to the unserialize function that may trigger "information disclosure, double-free and negative reference index array underflow" results.


Affected software

PHP

How to mitigate CVE-2004-1019

Install update from vendor's website.

PHP - addressed in versions 4.3.10, 4.10, 5.0.3

External References

Related Security Bulletins