CVE-2007-1484

Summary

CVECVE-2007-1484
StatePUBLISHED
Assignermitre
Source PriorityCVE Program / NVD first with legacy fallback
Published2007-03-16 21:19:00 UTC
Updated2026-04-23 00:35:47 UTC
DescriptionThe 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.

Risk And Classification

Primary CVSS: v2.0 4.6 from [email protected]

AV:L/AC:L/Au:N/C:P/I:P/A:P

Problem Types: NVD-CWE-Other | n/a

CVSS v2.0 Breakdown

Access Vector
Local
Access Complexity
Low
Authentication
None
Confidentiality
Partial
Integrity
Partial
Availability
Partial

AV:L/AC:L/Au:N/C:P/I:P/A:P

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Php Php All All All All
Application Php Php All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Na N/a affected n/a Not specified

References

ReferenceSourceLinkTags
APPLE-SA-2007-07-31 Security Update 2007-007 af854a3a-2127-422b-91ae-364da2661108 lists.apple.com Mailing List, Third Party Advisory
PHP: PHP 4.4.7 Release Announcement af854a3a-2127-422b-91ae-364da2661108 us2.php.net Third Party Advisory
Gentoo Linux Documentation -- PHP: Multiple vulnerabilities af854a3a-2127-422b-91ae-364da2661108 security.gentoo.org Third Party Advisory
PHP Multiple Code Execution Vulnerabilities - Advisories - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com Third Party Advisory
Mac OS X Security Update Fixes Multiple Vulnerabilities - Advisories - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com Third Party Advisory
SUSE update for php - Advisories - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com Third Party Advisory
Apple Mac OS X 2007-007 Multiple Security Vulnerabilities af854a3a-2127-422b-91ae-364da2661108 www.securityfocus.com Third Party Advisory, VDB Entry
Security Announcement af854a3a-2127-422b-91ae-364da2661108 www.novell.com Broken Link
PHP: PHP 5.2.2 Release Announcement af854a3a-2127-422b-91ae-364da2661108 us2.php.net Third Party Advisory
USN-455-1: PHP vulnerabilities | Ubuntu af854a3a-2127-422b-91ae-364da2661108 www.ubuntu.com Third Party Advisory
About Security Update 2007-007 af854a3a-2127-422b-91ae-364da2661108 docs.info.apple.com Third Party Advisory
Gentoo update for php - Advisories - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com Third Party Advisory
MOPB-24-2007:PHP array_user_key_compare() Double DTOR Vulnerability af854a3a-2127-422b-91ae-364da2661108 www.php-security.org Exploit, Third Party Advisory
Ubuntu update for php - Advisories - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com Third Party Advisory
PHP Array_User_Key_Compare Function Memory Corruption Vulnerability af854a3a-2127-422b-91ae-364da2661108 www.securityfocus.com Third Party Advisory, VDB Entry
Webmail - OVH af854a3a-2127-422b-91ae-364da2661108 www.vupen.com Third Party Advisory
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Vendor Comments And Credit

OrganizationPublishedContributorStatement
Red Hat2007-04-16Mark J CoxThe PHP interpreter does not offer a reliable "sandboxed" security layer (as found in, say, a JVM) in which untrusted scripts can be run; any script run by the PHP interpreter must be trusted with the privileges of the interpreter itself. We therefore do not classify this issue as security-sensitive since no trust boundary is crossed.

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report