Remote code executionin CVE-2004-0594.
Proof of concept public (Exploit-DB).
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.
- No source names a fix yet. Watch this page or the product for updates; we never guess a fixed version.
Not confirmed by any source yet: affected versions not confirmed; fixed version not confirmed; severity not scored yet. We show these as not confirmed instead of guessing.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 23 Jun 2004CVE ID reserved by mitre.
- 16 Jul 2004Published in the CVE List.
- 8 Aug 2024CVE record last updated.
Attack code anyone can find
Exploit maturity: Proof of concept (Exploit-DB).
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Nothing on this page links to exploit code right now. To report anything else, write to the contact point in the legal notice.
- www.trustix.org vendor-advisory, x_refsource_TRUSTIX
- lists.grok.org.uk mailing-list, x_refsource_FULLDISC
- distro.conectiva.com.br vendor-advisory, x_refsource_CONECTIVA
- marc.info mailing-list, x_refsource_BUGTRAQ
- www.debian.org vendor-advisory, x_refsource_DEBIAN
- www.redhat.com vendor-advisory, x_refsource_REDHAT
- www.redhat.com vendor-advisory, x_refsource_REDHAT
- oval.cisecurity.org vdb-entry, signature, x_refsource_OVAL
- www.redhat.com vendor-advisory, x_refsource_REDHAT
- www.debian.org vendor-advisory, x_refsource_DEBIAN
- www.novell.com vendor-advisory, x_refsource_SUSE
- www.mandrakesecure.net vendor-advisory, x_refsource_MANDRAKE
- www.redhat.com vendor-advisory, x_refsource_REDHAT
- marc.info vendor-advisory, x_refsource_HP
- exchange.xforce.ibmcloud.com vdb-entry, x_refsource_XF
- marc.info mailing-list, x_refsource_BUGTRAQ
- www.securityfocus.com vdb-entry, x_refsource_BID
- marc.info mailing-list, x_refsource_BUGTRAQ
- www.gentoo.org vendor-advisory, x_refsource_GENTOO
Patchminder. CVE-2004-0594: Remote code execution in CVE-2004-0594. https://patchminder.com/cve/cve-2004-0594/ (accessed 5 December 2026).