Skip to content
Noroxi
CVE-2004-0594· NVD / CVE Program· CNA mitre

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 ena

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.

MediumCVSS 5.1 · v2.0—Proof of concept Fix available
Published
Jul 27, 2004
Updated
Jun 16, 2026
EPSS
54.9% · 99th percentile
Follow this CVE

Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.

Report tools

JSON

Action score

36

Monitor

Low priority for now.

CVSS
20 / 40 · 5.1 / 10
CISA KEV
0 / 30 · Not listed
EPSS
16 / 30 · 54.9%

Affected systems

VendorProduct
hphp-ux
openpkgopenpkg
avayaconverged communications server
debiandebian linux
trustixsecure linux
phpphp

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • php php4.0 and later · before 4.3.7
  • php php5.0.0

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Debian:3.0php3before 3:3.0.18-23.1woody23:3.0.18-23.1woody2
Debian:3.0php4before 4.1.2-74.1.2-7
Red Hat:enterprise_linux:3::asphpbefore 0:4.3.2-11.1.ent0:4.3.2-11.1.ent
Red Hat:enterprise_linux:3::asphp-debuginfobefore 0:4.3.2-11.1.ent0:4.3.2-11.1.ent
Red Hat:enterprise_linux:3::asphp-develbefore 0:4.3.2-11.1.ent0:4.3.2-11.1.ent
Red Hat:enterprise_linux:3::asphp-imapbefore 0:4.3.2-11.1.ent0:4.3.2-11.1.ent
Red Hat:enterprise_linux:3::asphp-ldapbefore 0:4.3.2-11.1.ent0:4.3.2-11.1.ent
Red Hat:enterprise_linux:3::asphp-mysqlbefore 0:4.3.2-11.1.ent0:4.3.2-11.1.ent
Red Hat:enterprise_linux:3::asphp-odbcbefore 0:4.3.2-11.1.ent0:4.3.2-11.1.ent
Red Hat:enterprise_linux:3::asphp-pgsqlbefore 0:4.3.2-11.1.ent0:4.3.2-11.1.ent

Same product

hp: all records

Other highest-scoring records for the same primary product.

  • CVE-2000-0573The lreply function in wu-ftpd 2.6.0 and earlier does not properly cleanse an untrusted format string, which allows remote attackers to exec
    69This week
  • CVE-2005-3277The LPD service in HP-UX 10.20 11.11 (11i) and earlier allows remote attackers to execute arbitrary code via shell metacharacters ("`" or si
    46Plan
  • CVE-1999-0502A Unix account has a default, null, blank, or missing password.
    46Plan
  • CVE-2001-0249Heap overflow in FTP daemon in Solaris 8 allows remote attackers to execute arbitrary commands by creating a long pathname and calling the L
    45Plan
  • CVE-2007-6195Buffer overflow in the sw_rpc_agent_init function in swagentd in Software Distributor (SD), and possibly other DCE applications, in HP HP-UX
    44Plan
  • CVE-2004-0716Buffer overflow in the DCE daemon (DCED) for the DCE endpoint mapper (epmap) on HP-UX 11 allows remote attackers to execute arbitrary code v
    44Plan

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
debian:php33:3.0.18-23.1woody2 · Debian:3.0Package registry (OSV)
debian:php44.1.2-7 · Debian:3.0Package registry (OSV)
red hat:php0:4.3.2-11.1.ent · Red Hat:enterprise_linux:3::asPackage registry (OSV)
red hat:php-debuginfo0:4.3.2-11.1.ent · Red Hat:enterprise_linux:3::asPackage registry (OSV)
red hat:php-devel0:4.3.2-11.1.ent · Red Hat:enterprise_linux:3::asPackage registry (OSV)
red hat:php-imap0:4.3.2-11.1.ent · Red Hat:enterprise_linux:3::asPackage registry (OSV)
red hat:php-ldap0:4.3.2-11.1.ent · Red Hat:enterprise_linux:3::asPackage registry (OSV)
red hat:php-mysql0:4.3.2-11.1.ent · Red Hat:enterprise_linux:3::asPackage registry (OSV)
red hat:php-odbc0:4.3.2-11.1.ent · Red Hat:enterprise_linux:3::asPackage registry (OSV)
red hat:php-pgsql0:4.3.2-11.1.ent · Red Hat:enterprise_linux:3::asPackage registry (OSV)

Exploit status

Proof of concept available

A public proof of concept or detection signature exists. Exploit knowledge is out there; don't delay patching.

Evidence

  • Exploit-DB entry ×1

Noroxi does not host or link to exploit code. Metasploit module names and Nuclei template ids are shown (names, not code); Exploit-DB entries and PoC repositories are given as counts only.

Public exploit evidence
SourceKindDate
Exploit-DB entryremote2004-11-27

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

  1. Published
  2. First PoC+123 d
  3. TodaySep 30, 2026+8101 d
EPSS, last 120 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

No commit or PR link among the references.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

Technical details

Attack conditions

  • Special conditions such as timing or configuration are required.

If successful

Confidentiality
P · data can be read
Integrity
P · data or configuration can be modified
Availability
P · the service can be disrupted
Attack complexity
High
Confidentiality impact
P
Integrity impact
P
Availability impact
P

CVSS vector

AV:N/AC:H/Au:N/C:P/I:P/A:P

nvd-primary

Attack context

MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.

Noroxi analysis

No Noroxi analysis for this record yet

We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.

We use this product, ask for help

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records