Every CVE Search/ Get API key

CVE-2004-0594

The memory_limit functionality in PHP 4.x up to 4.3.7, and 5.x up to 5.0.0RC3, under certain...

5.1 MediumPublic exploit

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.

Exploit likelihood

54.9%Down 6.1 points since Feb 4, 2022
90%50%10%1%

What each source reports

NVD Score used 5.1

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.

Record
CVE-2004-0594
CVSS 2.0
5.1 MediumAV:N/AC:H/Au:N/C:P/I:P/A:P
Weakness
CWE-367
Updated
2026-11-02
CVE List No score

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.

Record
CVE-2004-0594
Updated
2026-11-02
EUVDEUVD-2004-0593 No score

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.

Record
EUVD-2004-0593
Updated
2026-11-03
GitHub AdvisoriesGHSA-jm2p-9h9p-vg22 No score

The memory_limit functionality in PHP 4.x up to 4.3.7, and 5.x up to 5.0.0RC3, under certain...

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.

Record
GHSA-jm2p-9h9p-vg22
Weakness
CWE-367
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
php4
Debian:3.0
From an advisory covering 2 CVEs
before 4.1.2-7
4.1.2-7
php3
Debian:3.0
From an advisory covering 2 CVEs
before 3:3.0.18-23.1woody2, plus listed versions
3:3.0.18-23.1woody1
3:3.0.18-23.1woody2
php
Red Hat:enterprise_linux:3::as
From an advisory covering 2 CVEs
before 0:4.3.2-11.1.ent
0:4.3.2-11.1.ent
php-debuginfo
Red Hat:enterprise_linux:3::as
From an advisory covering 2 CVEs
before 0:4.3.2-11.1.ent
0:4.3.2-11.1.ent
php-devel
Red Hat:enterprise_linux:3::as
From an advisory covering 2 CVEs
before 0:4.3.2-11.1.ent
0:4.3.2-11.1.ent
php-imap
Red Hat:enterprise_linux:3::as
From an advisory covering 2 CVEs
before 0:4.3.2-11.1.ent
0:4.3.2-11.1.ent
php-ldap
Red Hat:enterprise_linux:3::as
From an advisory covering 2 CVEs
before 0:4.3.2-11.1.ent
0:4.3.2-11.1.ent
php-mysql
Red Hat:enterprise_linux:3::as
From an advisory covering 2 CVEs
before 0:4.3.2-11.1.ent
0:4.3.2-11.1.ent
php-odbc
Red Hat:enterprise_linux:3::as
From an advisory covering 2 CVEs
before 0:4.3.2-11.1.ent
0:4.3.2-11.1.ent
php-pgsql
Red Hat:enterprise_linux:3::as
From an advisory covering 2 CVEs
before 0:4.3.2-11.1.ent
0:4.3.2-11.1.ent
Show 24 moreShow less
Affected packages
PackageAffectedFixed
php
Red Hat:enterprise_linux:3::desktop
From an advisory covering 2 CVEs
before 0:4.3.2-11.1.ent
0:4.3.2-11.1.ent
php-debuginfo
Red Hat:enterprise_linux:3::desktop
From an advisory covering 2 CVEs
before 0:4.3.2-11.1.ent
0:4.3.2-11.1.ent
php-devel
Red Hat:enterprise_linux:3::desktop
From an advisory covering 2 CVEs
before 0:4.3.2-11.1.ent
0:4.3.2-11.1.ent
php-imap
Red Hat:enterprise_linux:3::desktop
From an advisory covering 2 CVEs
before 0:4.3.2-11.1.ent
0:4.3.2-11.1.ent
php-ldap
Red Hat:enterprise_linux:3::desktop
From an advisory covering 2 CVEs
before 0:4.3.2-11.1.ent
0:4.3.2-11.1.ent
php-mysql
Red Hat:enterprise_linux:3::desktop
From an advisory covering 2 CVEs
before 0:4.3.2-11.1.ent
0:4.3.2-11.1.ent
php-odbc
Red Hat:enterprise_linux:3::desktop
From an advisory covering 2 CVEs
before 0:4.3.2-11.1.ent
0:4.3.2-11.1.ent
php-pgsql
Red Hat:enterprise_linux:3::desktop
From an advisory covering 2 CVEs
before 0:4.3.2-11.1.ent
0:4.3.2-11.1.ent
php
Red Hat:enterprise_linux:3::es
From an advisory covering 2 CVEs
before 0:4.3.2-11.1.ent
0:4.3.2-11.1.ent
php-debuginfo
Red Hat:enterprise_linux:3::es
From an advisory covering 2 CVEs
before 0:4.3.2-11.1.ent
0:4.3.2-11.1.ent
php-devel
Red Hat:enterprise_linux:3::es
From an advisory covering 2 CVEs
before 0:4.3.2-11.1.ent
0:4.3.2-11.1.ent
php-imap
Red Hat:enterprise_linux:3::es
From an advisory covering 2 CVEs
before 0:4.3.2-11.1.ent
0:4.3.2-11.1.ent
php-ldap
Red Hat:enterprise_linux:3::es
From an advisory covering 2 CVEs
before 0:4.3.2-11.1.ent
0:4.3.2-11.1.ent
php-mysql
Red Hat:enterprise_linux:3::es
From an advisory covering 2 CVEs
before 0:4.3.2-11.1.ent
0:4.3.2-11.1.ent
php-odbc
Red Hat:enterprise_linux:3::es
From an advisory covering 2 CVEs
before 0:4.3.2-11.1.ent
0:4.3.2-11.1.ent
php-pgsql
Red Hat:enterprise_linux:3::es
From an advisory covering 2 CVEs
before 0:4.3.2-11.1.ent
0:4.3.2-11.1.ent
php
Red Hat:enterprise_linux:3::ws
From an advisory covering 2 CVEs
before 0:4.3.2-11.1.ent
0:4.3.2-11.1.ent
php-debuginfo
Red Hat:enterprise_linux:3::ws
From an advisory covering 2 CVEs
before 0:4.3.2-11.1.ent
0:4.3.2-11.1.ent
php-devel
Red Hat:enterprise_linux:3::ws
From an advisory covering 2 CVEs
before 0:4.3.2-11.1.ent
0:4.3.2-11.1.ent
php-imap
Red Hat:enterprise_linux:3::ws
From an advisory covering 2 CVEs
before 0:4.3.2-11.1.ent
0:4.3.2-11.1.ent
php-ldap
Red Hat:enterprise_linux:3::ws
From an advisory covering 2 CVEs
before 0:4.3.2-11.1.ent
0:4.3.2-11.1.ent
php-mysql
Red Hat:enterprise_linux:3::ws
From an advisory covering 2 CVEs
before 0:4.3.2-11.1.ent
0:4.3.2-11.1.ent
php-odbc
Red Hat:enterprise_linux:3::ws
From an advisory covering 2 CVEs
before 0:4.3.2-11.1.ent
0:4.3.2-11.1.ent
php-pgsql
Red Hat:enterprise_linux:3::ws
From an advisory covering 2 CVEs
before 0:4.3.2-11.1.ent
0:4.3.2-11.1.ent

Public exploits

Links only. Every CVE stores no exploit code.

Public exploits
SourceLinkDate
Exploit-DBPHP 4.3.7/5.0.0RC3 - 'memory_limit' Remote Overflow2004-11-27

History

History
RecordedChangedSources
affected, facts
aliasesEUVD
first indexedCVE List, Exploit-DB, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2004-0594 is a medium vulnerability (CVSS 5.1) in Php, published July 16, 2004. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 54.9%, the 99th percentile. No source names a fixed version.

References

Show 26 moreShow less
MoveEnter Open