U.S. flag   An official website of the United States government
Dot gov

Official websites use .gov
A .gov website belongs to an official government organization in the United States.

Https

Secure .gov websites use HTTPS
A lock (Dot gov) or https:// means you've safely connected to the .gov website. Share sensitive information only on official, secure websites.

CVE-2004-0594 Detail

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.


Metrics

NVD enrichment efforts reference publicly available information to associate vector strings. CVSS information contributed by other sources is also displayed.
CVSS 4.0 Severity and Vector Strings:

NIST CVSS score
NIST: NVD
N/A
NVD assessment not yet provided.

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to [email protected].

URL Source(s) Tag(s)
CVE, MITRE Broken Link 
CVE, MITRE Broken Link  URL Repurposed 
CVE, MITRE Third Party Advisory 
CVE, MITRE Third Party Advisory 
CVE, MITRE Third Party Advisory 
CVE, MITRE Third Party Advisory 
CVE, MITRE Broken Link 
CVE, MITRE Mailing List 
CVE, MITRE Third Party Advisory 
CVE, MITRE Broken Link 
CVE, MITRE Broken Link 
CVE, MITRE Broken Link 
CVE, MITRE Broken Link 
CVE, MITRE Broken Link 
CVE, MITRE Broken Link 
CVE, MITRE Broken Link  Third Party Advisory  VDB Entry 
CVE, MITRE Broken Link 
CVE, MITRE Third Party Advisory  VDB Entry 
CVE, MITRE Broken Link 

Weakness Enumeration

CWE-ID CWE Name Source
CWE-367 Time-of-check Time-of-use (TOCTOU) Race Condition cwe source acceptance level NIST  

Known Affected Software Configurations Switch to CPE 2.2

CPEs loading, please wait.

Denotes Vulnerable Software
Are we missing a CPE here? Please let us know.

Change History

9 change records found show changes

Quick Info

CVE Dictionary Entry:
CVE-2004-0594
NVD Published Date:
07/27/2004
NVD Last Modified:
04/15/2026
Source:
MITRE