5.1CVSSMEDIUM
Description
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.
CVSS Vector Breakdown
Exploitability
AV:NAccess VectorNetwork
AC:HAccess ComplexityHigh
Au:NAuthenticationNone
Impact
C:PConfidentialityPartial
I:PIntegrityPartial
A:PAvailabilityPartial
Weaknesses
Affected Products
and 2 more affected products View all →
Attack Graph
Products CVE Techniques Tactics
Click technique nodes to view MITRE ATT&CK details. Scroll to zoom, drag to pan.
Exploitability
No known exploits, KEV entries, or remediation guidance available for this vulnerability yet.
MITRE ATT&CK
1 technique Privilege Escalation
References
http://distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000847
distro.conectiva.com.br
http://lists.grok.org.uk/pipermail/full-disclosure/2004-July/023908.html
lists.grok.org.uk
http://marc.info/?l=bugtraq&m=108981780109154&w=2
marc.info
and 16 more references View all →
Timeline
Published
Jul 16, 2004
Last Updated
Apr 16, 2026
Unlock Complete Vulnerability Intelligence
Get the full picture for CVE-2004-0594 and every CVE in our database. Create a free account — no credit card required.
Create Free AccountPlain-language analysis
Impact assessment and exploitation scenario in plain English
Attack graph visualization
Interactive attack path and kill chain mapping
Exploit details & PoC links
ExploitDB, Metasploit, GitHub PoCs with direct links
Nuclei scanner templates
Ready-to-use vulnerability scanner templates
Full remediation guide
Patch instructions, workarounds, and compliance impact
Interactive AI chat
Ask questions about this vulnerability in natural language
Related vulnerabilities
Semantically similar CVEs and attack patterns
REST API & MCP access
Integrate vulnerability data into your workflows