CVE-2004-0594
MEDIUMEPSS 99th pctlDescription
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.
How to fix
TridentStack Control can deploy fixes like this automatically across your Windows, macOS, and Linux fleet. See how it works
Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.
CVSS v2 Vector
No CVSS vector data available.
Exploit Intelligence
Very high risk: more likely to be exploited than 99% of all known CVEs.
References
Related Vulnerabilities
Other CWE-367 (TOCTOU Race Condition) vulnerabilities, ordered by exploit likelihood. View all
| CVE | Severity | CVSS | EPSS | Exploited | Fix |
|---|---|---|---|---|---|
| CVE-2022-36980 | High | 8.1 | 83% | - | Fix |
| CVE-2024-30088 | High | 7.0 | 68% | KEV + Ransom | Fix |
| CVE-2024-50379 | Critical | 9.8 | 44% | - | Fix |
| CVE-2023-38146 | High | 8.8 | 39% | - | Fix |
| CVE-2024-0132 | Critical | 9.0 | 37% | - | Fix |
| CVE-2025-34027 | Unscored | - | 36% | - | - |
Embed a live status badge for CVE-2004-0594
Markdown
[](https://tridentstack.com/cve/CVE-2004-0594)HTML
<a href="https://tridentstack.com/cve/CVE-2004-0594"><img src="https://tridentstack.com/cve/badge/CVE-2004-0594.svg" alt="CVE-2004-0594"></a>Find and fix vulnerabilities across your fleet
TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.
This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-04-16.