CVE-2004-0594
Vulnerability record
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.
Key facts
- Published
- 16 Jul 2004
- Last changed
- 8 Aug 2024
- Assigned by
- mitre
- EPSS
- 54.856% likely to be exploited in the next 30 days, higher than 99.041% of CVEs (scores for 16 Nov 2026)
Historical context and remediation
This reference retains the original CVE publication date. A recent record update does not mean a new attack occurred.
No separately sourced impact summary is available on this page yet. Consult the description, version data and dated exploitation evidence.
No explicit remediation statement is available on this page yet. Consult the original record and vendor references before choosing a fix.
Version statuses below come from the CNA. An “unaffected” version is not necessarily a currently supported release or proof of a patch date. EPSS is a dated risk estimate, not a count of historical attacks.
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a |
|
Timeline
- 16 Jul 2004 Published
References
- 2004-0039
- 20040714 Advisory 11/2004: PHP memory_limit remote vulnerability
- CLA-2004:847
- 20040714 TSSA-2004-013 - php
- DSA-669
- RHSA-2004:395
- RHSA-2004:405
- oval:org.mitre.oval:def:10896
- RHSA-2004:392
- DSA-531
- SUSE-SA:2004:021
- MDKSA-2004:068
- RHSA-2005:816
- SSRT4777
- php-memorylimit-code-execution(16693)
- 20040722 [OpenPKG-SA-2004.034] OpenPKG Security Advisory (php)
- 10725
- 20040713 Advisory 11/2004: PHP memory_limit remote vulnerability
- GLSA-200407-13