{"id":"CVE-2007-1484","aliases":["EUVD-2007-1478","GHSA-gg33-7vxx-p97w"],"status":"published","title":"The array_user_key_compare function in PHP 4.4.6 and earlier, and 5.x up to 5.2.1, makes...","description":"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.","severity":{"version":"2.0","score":4.6,"vector":"AV:L/AC:L/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.01125,"percentile":0.66491,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":false},"published":"2007-03-16T21:00:00Z","modified":"2026-06-16T22:37:40Z","exploits":[{"source":"exploitdb","id":"EDB-3499","title":"PHP 4.4.6/5.2.1 - 'array_user_key_compare()' ZVAL dtor Local Overflow","type":"local","platform":"linux","date":"2007-03-16","verified":true,"url":"https://www.exploit-db.com/exploits/3499"}],"products":[{"vendor":"php","product":"php"}],"references":[{"url":"http://www.securityfocus.com/bid/22990","tags":["vdb-entry","x_refsource_BID","x_transferred","Third Party Advisory","VDB Entry"]},{"url":"http://www.vupen.com/english/advisories/2007/2732","tags":["vdb-entry","x_refsource_VUPEN","x_transferred","Third Party Advisory"]},{"url":"http://secunia.com/advisories/25056","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Third Party Advisory"]},{"url":"http://secunia.com/advisories/24542","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Third Party Advisory"]},{"url":"http://lists.apple.com/archives/security-announce//2007/Jul/msg00004.html","tags":["vendor-advisory","x_refsource_APPLE","x_transferred","Mailing List","Third Party Advisory"]},{"url":"http://security.gentoo.org/glsa/glsa-200705-19.xml","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred","Third Party Advisory"]},{"url":"http://www.php-security.org/MOPB/MOPB-24-2007.html","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory"]},{"url":"http://us2.php.net/releases/4_4_7.php","tags":["x_refsource_CONFIRM","x_transferred","Third Party Advisory"]},{"url":"http://www.ubuntu.com/usn/usn-455-1","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred","Third Party Advisory"]},{"url":"http://us2.php.net/releases/5_2_2.php","tags":["x_refsource_CONFIRM","x_transferred","Third Party Advisory"]},{"url":"http://docs.info.apple.com/article.html?artnum=306172","tags":["x_refsource_CONFIRM","x_transferred","Third Party Advisory"]},{"url":"http://www.securityfocus.com/bid/25159","tags":["vdb-entry","x_refsource_BID","x_transferred","Third Party Advisory","VDB Entry"]},{"url":"http://secunia.com/advisories/25445","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Third Party Advisory"]},{"url":"http://secunia.com/advisories/25057","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Third Party Advisory"]},{"url":"http://www.novell.com/linux/security/advisories/2007_32_php.html","tags":["vendor-advisory","x_refsource_SUSE","x_transferred","Broken Link"]},{"url":"http://secunia.com/advisories/26235","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Third Party Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2007-1484"},{"url":"https://github.com/advisories/GHSA-gg33-7vxx-p97w"}],"sources":{"cve":[{"id":"CVE-2007-1484","description":"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.","status":"published","published":"2007-03-16T21:00:00Z","modified":"2024-08-07T12:59:08.512Z","updated_at":"2026-11-02T13:33:52.669326Z"}],"euvd":[{"id":"EUVD-2007-1478","description":"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.","status":"published","published":"2007-03-16T21:00:00Z","modified":"2024-08-07T12:59:08Z","updated_at":"2026-11-03T01:38:25.775166Z"}],"ghsa":[{"id":"GHSA-gg33-7vxx-p97w","title":"The array_user_key_compare function in PHP 4.4.6 and earlier, and 5.x up to 5.2.1, makes...","description":"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.","status":"published","published":"2022-05-01T17:54:12Z","modified":"2023-01-31T05:03:19Z","updated_at":"2026-11-02T14:48:26.443063Z"}],"nvd":[{"id":"CVE-2007-1484","description":"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.","status":"published","published":"2007-03-16T21:19:00Z","modified":"2026-06-16T22:37:40.65Z","cvss":[{"version":"2.0","score":4.6,"vector":"AV:L/AC:L/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"updated_at":"2026-11-02T14:01:13.98711Z"}]}}
