Input validation error in PHP - CVE-2007-1484

 

Input validation error in PHP - CVE-2007-1484

Published: October 19, 2018 / Updated: June 12, 2025


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

Vulnerability details

The vulnerability allows a local user to read and manipulate data.

The array_user_key_compare function in PHP 4.4.6 and earlier, and 5.x up to 5.2.1, makes erroneous calls to zval_dtor, which triggers memory corruption and allows local users to bypass safe_mode and execute arbitrary code via a certain unset operation after array_user_key_compare has been called.


Affected software

PHP
Gentoo Linux
dev-lang/php

How to mitigate CVE-2007-1484

Install update from vendor's website.

PHP - update to 4.4.7
dev-lang/php - update to 5.2.2

Links to Public Exploits and PoC-codes

External References

Related Security Bulletins