{"id":"CVE-2004-0594","published":"2004-07-16T04:00:00Z","modified":"2024-08-08T00:24:26Z","title":"The memory_limit functionality in PHP 4.x up to 4.3.7, and 5.x up to 5.0.0RC3, under certain conditions such as when…","vendor":null,"product":null,"tier":"core","eol":null,"description":{"text":"The memory_limit functionality in PHP 4.x up to 4.3.7, and 5.x up to 5.0.0RC3, under certain conditions such as when register_globals is enabled, allows remote attackers to execute arbitrary code by triggering a memory_limit abort during execution of the zend_hash_init function and overwriting a HashTable destructor pointer before the initialization of key data structures is complete.","provenance":"source","from":"CVE.org"},"summary":{"text":"The memory_limit functionality in PHP 4.x up to 4.3.7 and 5.x up to 5.0.0RC3 contains a flaw in the zend_hash_init routine, where a memory_limit abort during execution can leave a HashTable destructor pointer overwritable before key data structures finish initializing. An attacker can execute arbitrary code remotely by triggering that memory_limit abort, with the condition that register_globals is enabled.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-10-29T07:22:17Z"},"cvss":null,"epss":{"score":0.54856,"percentile":0.9902,"date":"2026-10-28","provenance":"source"},"kev":null,"vulncheckKev":null,"exploited":false,"otx":{"pulseCount":0,"pulses":[],"provenance":"machine"},"cwes":[],"references":[{"url":"http://www.trustix.org/errata/2004/0039/","tags":["vendor-advisory","x_refsource_TRUSTIX"]},{"url":"http://lists.grok.org.uk/pipermail/full-disclosure/2004-July/023908.html","tags":["mailing-list","x_refsource_FULLDISC"]},{"url":"http://distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000847","tags":["vendor-advisory","x_refsource_CONECTIVA"]},{"url":"http://marc.info/?l=bugtraq&m=108982983426031&w=2","tags":["mailing-list","x_refsource_BUGTRAQ"]},{"url":"http://www.debian.org/security/2005/dsa-669","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"http://www.redhat.com/support/errata/RHSA-2004-395.html","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://www.redhat.com/support/errata/RHSA-2004-405.html","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10896","tags":["vdb-entry","signature","x_refsource_OVAL"]},{"url":"http://www.redhat.com/support/errata/RHSA-2004-392.html","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://www.debian.org/security/2004/dsa-531","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"http://www.novell.com/linux/security/advisories/2004_21_php4.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://www.mandrakesecure.net/en/advisories/advisory.php?name=MDKSA-2004:068","tags":["vendor-advisory","x_refsource_MANDRAKE"]},{"url":"http://www.redhat.com/support/errata/RHSA-2005-816.html","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://marc.info/?l=bugtraq&m=109181600614477&w=2","tags":["vendor-advisory","x_refsource_HP"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/16693","tags":["vdb-entry","x_refsource_XF"]},{"url":"http://marc.info/?l=bugtraq&m=109051444105182&w=2","tags":["mailing-list","x_refsource_BUGTRAQ"]},{"url":"http://www.securityfocus.com/bid/10725","tags":["vdb-entry","x_refsource_BID"]},{"url":"http://marc.info/?l=bugtraq&m=108981780109154&w=2","tags":["mailing-list","x_refsource_BUGTRAQ"]},{"url":"http://www.gentoo.org/security/en/glsa/glsa-200407-13.xml","tags":["vendor-advisory","x_refsource_GENTOO"]}],"techniques":[],"reports":[],"affected":[],"advisories":[],"euvd":{"id":"EUVD-2004-0593","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2004-0593","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[{"id":660,"url":"https://www.exploit-db.com/exploits/660","title":"PHP 4.3.7/5.0.0RC3 - 'memory_limit' Remote Overflow","type":"remote","platform":"linux","date":"2004-11-27","verified":true,"provenance":"source"}],"exploitSources":{"exploitdb":{"count":1,"earliest":"2004-11-27"},"first":{"date":"2004-11-27","source":"Exploit-DB","url":"https://www.exploit-db.com/exploits/660"},"provenance":"source"},"exploitRefs":[],"flow":[],"timeline":[{"date":"2004-07-16","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2004-0594","provenance":"source"},{"date":"2004-11-27","kind":"exploit-public","label":"First public exploit: Exploit-DB (EDB-660)","url":"https://www.exploit-db.com/exploits/660","provenance":"source"}],"speed":{"daysToPublicExploit":134,"firstExploitFrom":"Exploit-DB","daysToKev":null},"priority":{"score":24.8,"factors":[{"name":"In a KEV catalog","points":0.0,"detail":"not listed"},{"name":"Recent KEV listing","points":0.0,"detail":"not listed"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":19.8,"detail":"percentile 0.9902"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":5.0,"detail":"1 Exploit-DB entry"},{"name":"Mentioned in OTX pulses","points":0.0,"detail":"0 pulses"},{"name":"CVSS severity","points":0.0,"detail":"no CVSS"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]}}