CVE-2004-0594 EXPLOIT
5.1
MEDIUM · CVSS 2.0 · EPSS 54.9% (pctl 99)
Patch early
A public exploit exists.
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.
Scoring
| CVSS | 5.1 (MEDIUM, v2.0) |
|---|---|
| Vector | AV:N/AC:H/Au:N/C:P/I:P/A:P |
| EPSS | 54.86% — more likely to be exploited than 99% of all CVEs |
| Weakness | CWE-367 |
| On CISA KEV | no |
| Public exploit | yes |
| Published | 2004-07-27 |
| Last modified | 2026-06-16 |
Affected (6)
| Vendor | Product |
|---|---|
| avaya | converged communications server |
| debian | debian linux |
| hp | hp-ux |
| openpkg | openpkg |
| php | php |
| trustix | secure linux |
Public exploits
| Source | Title | Date |
|---|---|---|
| exploit-db | PHP 4.3.7/5.0.0RC3 - 'memory_limit' Remote Overflow | 2004-11-27 |
References
- http://distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000847
- http://lists.grok.org.uk/pipermail/full-disclosure/2004-July/023908.html
- http://marc.info/?l=bugtraq&m=108981780109154&w=2
- http://marc.info/?l=bugtraq&m=108982983426031&w=2
- http://marc.info/?l=bugtraq&m=109051444105182&w=2
- http://marc.info/?l=bugtraq&m=109181600614477&w=2
- http://www.debian.org/security/2004/dsa-531
- http://www.debian.org/security/2005/dsa-669
- http://www.gentoo.org/security/en/glsa/glsa-200407-13.xml
- http://www.mandrakesecure.net/en/advisories/advisory.php?name=MDKSA-2004:068
- http://www.novell.com/linux/security/advisories/2004_21_php4.html
- http://www.redhat.com/support/errata/RHSA-2004-392.html
- http://www.redhat.com/support/errata/RHSA-2004-395.html
- http://www.redhat.com/support/errata/RHSA-2004-405.html
- http://www.redhat.com/support/errata/RHSA-2005-816.html
- http://www.securityfocus.com/bid/10725
- http://www.trustix.org/errata/2004/0039/
- https://exchange.xforce.ibmcloud.com/vulnerabilities/16693
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10896
- http://distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000847
→ the Explorer · watch your stack · NVD