CVE & CISA-KEV Catalog

CVE-2004-0594

MEDIUMEPSS 99th pctl
5.1
CVSS v2
NVD

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.

How to fix

Remediation Available
phpNVD
Affected:>= 4.0, < 4.3.7Fixed in:4.3.7CVE-2004-0594derived from NVD

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

54.86%probability of exploitation in 30 days
99thpercentile

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

CVESeverityCVSSEPSSExploitedFix
CVE-2022-36980High8.183%-Fix
CVE-2024-30088High7.068%KEV + RansomFix
CVE-2024-50379Critical9.844%-Fix
CVE-2023-38146High8.839%-Fix
CVE-2024-0132Critical9.037%-Fix
CVE-2025-34027Unscored-36%--
Embed a live status badge for CVE-2004-0594
CVE-2004-0594 severity badge

Markdown

[![CVE-2004-0594](https://tridentstack.com/cve/badge/CVE-2004-0594.svg)](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.

See how it worksStart freeThis CVE lookup is free and always will be.

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.