CVE-2004-0594

Summary

CVECVE-2004-0594
StatePUBLISHED
Assignermitre
Source PriorityCVE Program / NVD first with legacy fallback
Published2004-07-27 04:00:00 UTC
Updated2025-04-03 01:03:51 UTC
DescriptionThe 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.

Risk And Classification

Primary CVSS: v2.0 5.1 from [email protected]

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

Problem Types: CWE-367 | n/a

CVSS v2.0 Breakdown

Access Vector
Network
Access Complexity
High
Authentication
None
Confidentiality
Partial
Integrity
Partial
Availability
Partial

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

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Hardware Avaya Converged Communications Server 2.0 All All All
Operating System Debian Debian Linux 3.0 All All All
Operating System Hp Hp-ux b.11.00 All All All
Operating System Hp Hp-ux b.11.11 All All All
Operating System Hp Hp-ux b.11.22 All All All
Operating System Hp Hp-ux b.11.23 All All All
Application Openpkg Openpkg 2.0 All All All
Application Openpkg Openpkg 2.1 All All All
Application Php Php All All All All
Application Php Php 5.0.0 beta1 All All
Application Php Php 5.0.0 beta2 All All
Application Php Php 5.0.0 beta3 All All
Application Php Php 5.0.0 beta4 All All
Application Php Php 5.0.0 rc1 All All
Application Php Php 5.0.0 rc2 All All
Operating System Trustix Secure Linux 1.5 All All All
Operating System Trustix Secure Linux 2.0 All All All
Operating System Trustix Secure Linux 2.1 All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Na N/a affected n/a Not specified

References

ReferenceSourceLinkTags
Gentoo Linux Documentation -- PHP: Multiple security vulnerabilities af854a3a-2127-422b-91ae-364da2661108 www.gentoo.org Third Party Advisory
redhat.com | Red Hat Support af854a3a-2127-422b-91ae-364da2661108 www.redhat.com Broken Link
Debian -- Security Information -- DSA-669-1 php3 af854a3a-2127-422b-91ae-364da2661108 www.debian.org Mailing List
rhn.redhat.com | Red Hat Support af854a3a-2127-422b-91ae-364da2661108 www.redhat.com Broken Link
MandrakeSecure: MandrakeSoft Security Advisory MDKSA-2004:068 : php af854a3a-2127-422b-91ae-364da2661108 www.mandrakesecure.net Broken Link
'Advisory 11/2004: PHP memory_limit remote vulnerability' - MARC af854a3a-2127-422b-91ae-364da2661108 marc.info Third Party Advisory
IBM X-Force Exchange af854a3a-2127-422b-91ae-364da2661108 exchange.xforce.ibmcloud.com Third Party Advisory, VDB Entry
Repository / Oval Repository af854a3a-2127-422b-91ae-364da2661108 oval.cisecurity.org Broken Link
PHP memory_limit Remote Code Execution Vulnerability af854a3a-2127-422b-91ae-364da2661108 www.securityfocus.com Broken Link, Third Party Advisory, VDB Entry
www.trustix.org/errata/2004/0039 af854a3a-2127-422b-91ae-364da2661108 www.trustix.org Broken Link
Security Announcement af854a3a-2127-422b-91ae-364da2661108 www.novell.com Broken Link
Debian -- Security Information -- DSA-531-1 php4 af854a3a-2127-422b-91ae-364da2661108 www.debian.org Broken Link
'[security bulletin] SSRT4777 HP-UX Apache, PHP remote code execution, Denial of Service' - MARC af854a3a-2127-422b-91ae-364da2661108 marc.info Third Party Advisory
redhat.com | Red Hat Support af854a3a-2127-422b-91ae-364da2661108 www.redhat.com Broken Link
'[OpenPKG-SA-2004.034] OpenPKG Security Advisory (php)' - MARC af854a3a-2127-422b-91ae-364da2661108 marc.info Third Party Advisory
Home - Conectiva af854a3a-2127-422b-91ae-364da2661108 distro.conectiva.com.br Broken Link
[Full-Disclosure] Advisory 11/2004: PHP memory_limit remote vulnerability af854a3a-2127-422b-91ae-364da2661108 lists.grok.org.uk Broken Link, URL Repurposed
'TSSA-2004-013 - php' - MARC af854a3a-2127-422b-91ae-364da2661108 marc.info Third Party Advisory
redhat.com | Red Hat Support af854a3a-2127-422b-91ae-364da2661108 www.redhat.com Broken Link
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report