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.038%-Fix
CVE-2025-34027Unscored-36%--

Common questions

How do I fix CVE-2004-0594?

Upgrade php to 4.3.7 or later.

Is CVE-2004-0594 being actively exploited?

Not that we know of. CVE-2004-0594 is not in the CISA Known Exploited Vulnerabilities catalog. Its EPSS score of 54.9% is the estimated probability that it will be exploited in the next 30 days. That is higher than 99% of all scored CVEs.

How severe is CVE-2004-0594?

CVE-2004-0594 has a CVSS v2 base score of 5.1, rated medium. CVSS rates the technical impact if the vulnerability is exploited, not how likely that is, so weigh it alongside the exploit-prediction score when you decide what to patch first.

What does CVE-2004-0594 affect?

Published advisories record a fix for php (NVD). Only products with a sourced advisory are listed, so treat this as what we can cite rather than a complete inventory.

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.