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.
- Published
- Jul 27, 2004
- Updated
- Jun 16, 2026
- EPSS
- 54.9% · 99th percentile
- CWE
- CWE-367
Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.
Report tools
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
| Vendor | Product | CPE |
|---|---|---|
| hp | hp-ux | cpe:2.3:o:hp:hp-ux |
| openpkg | openpkg | cpe:2.3:a:openpkg:openpkg |
| avaya | converged communications server | cpe:2.3:h:avaya:converged_communications_server |
| debian | debian linux | cpe:2.3:o:debian:debian_linux |
| trustix | secure linux | cpe:2.3:o:trustix:secure_linux |
| php | php | cpe:2.3:a:php:php |
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.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:3.0 | php3 | before 3:3.0.18-23.1woody2 | 3:3.0.18-23.1woody2 |
| Debian:3.0 | php4 | before 4.1.2-7 | 4.1.2-7 |
| Red Hat:enterprise_linux:3::as | php | before 0:4.3.2-11.1.ent | 0:4.3.2-11.1.ent |
| Red Hat:enterprise_linux:3::as | php-debuginfo | before 0:4.3.2-11.1.ent | 0:4.3.2-11.1.ent |
| Red Hat:enterprise_linux:3::as | php-devel | before 0:4.3.2-11.1.ent | 0:4.3.2-11.1.ent |
| Red Hat:enterprise_linux:3::as | php-imap | before 0:4.3.2-11.1.ent | 0:4.3.2-11.1.ent |
| Red Hat:enterprise_linux:3::as | php-ldap | before 0:4.3.2-11.1.ent | 0:4.3.2-11.1.ent |
| Red Hat:enterprise_linux:3::as | php-mysql | before 0:4.3.2-11.1.ent | 0:4.3.2-11.1.ent |
| Red Hat:enterprise_linux:3::as | php-odbc | before 0:4.3.2-11.1.ent | 0:4.3.2-11.1.ent |
| Red Hat:enterprise_linux:3::as | php-pgsql | before 0:4.3.2-11.1.ent | 0:4.3.2-11.1.ent |
Same product
hp: all recordsOther 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 exec69This 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 si46Plan
- 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 L45Plan
- 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-UX44Plan
- 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 v44Plan
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| debian:php3 | 3:3.0.18-23.1woody2 · Debian:3.0 | Package registry (OSV) |
| debian:php4 | 4.1.2-7 · Debian:3.0 | Package registry (OSV) |
| red hat:php | 0:4.3.2-11.1.ent · Red Hat:enterprise_linux:3::as | Package registry (OSV) |
| red hat:php-debuginfo | 0:4.3.2-11.1.ent · Red Hat:enterprise_linux:3::as | Package registry (OSV) |
| red hat:php-devel | 0:4.3.2-11.1.ent · Red Hat:enterprise_linux:3::as | Package registry (OSV) |
| red hat:php-imap | 0:4.3.2-11.1.ent · Red Hat:enterprise_linux:3::as | Package registry (OSV) |
| red hat:php-ldap | 0:4.3.2-11.1.ent · Red Hat:enterprise_linux:3::as | Package registry (OSV) |
| red hat:php-mysql | 0:4.3.2-11.1.ent · Red Hat:enterprise_linux:3::as | Package registry (OSV) |
| red hat:php-odbc | 0:4.3.2-11.1.ent · Red Hat:enterprise_linux:3::as | Package registry (OSV) |
| red hat:php-pgsql | 0:4.3.2-11.1.ent · Red Hat:enterprise_linux:3::as | Package 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.
| Source | Kind | Date |
|---|---|---|
| Exploit-DB entry | remote | 2004-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.
- Published
- First PoC+123 d
- TodaySep 30, 2026+8101 d
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.
Credits
All researchersFinders, 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
Weakness class (CWE)
CWE-367 · Time-of-check Time-of-use (TOCTOU) Race ConditionCVSS 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 helpChange log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
- distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000847
- lists.grok.org.uk/pipermail/full-disclosure/2004-July/023908.html
- marc.info/?l=bugtraq&m=108981780109154&w=2
- marc.info/?l=bugtraq&m=108982983426031&w=2
- marc.info/?l=bugtraq&m=109051444105182&w=2
- marc.info/?l=bugtraq&m=109181600614477&w=2
- www.debian.org/security/2004/dsa-531
- www.debian.org/security/2005/dsa-669
- www.gentoo.org/security/en/glsa/glsa-200407-13.xml
- www.mandrakesecure.net/en/advisories/advisory.php?name=MDKSA-2004:068
- www.novell.com/linux/security/advisories/2004_21_php4.html
- www.redhat.com/support/errata/RHSA-2004-392.html
- www.redhat.com/support/errata/RHSA-2004-395.html
- www.redhat.com/support/errata/RHSA-2004-405.html
- www.redhat.com/support/errata/RHSA-2005-816.html
- www.securityfocus.com/bid/10725
- www.trustix.org/errata/2004/0039/
- exchange.xforce.ibmcloud.com/vulnerabilities/16693
- oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10896
Vendor advisories and official records. Exploit/PoC links are deliberately left out.