Menu

Star on GitHub · 3.2k

CVE-2004-0594

5.1 · MEDIUM

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 b…

Published Jul 27, 2004openpkgCWE-367EPSS 54.86%

Overview

CVE-2004-0594 is a medium-severity vulnerability affecting openpkg openpkg. It was published on July 27, 2004 and has a CVSS 2.0 base score of 5.1 (MEDIUM).

This vulnerability has a CVSS 2.0 base score of 5.1, rated MEDIUM. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

Technical 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.

Remediation

Check the references section for vendor advisories and patches from openpkg. Update openpkg to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected products

VendorProductVersionsStatus
phpphp>= 4.0, < 4.3.7Affected

Frequently asked questions

What is CVE-2004-0594?

CVE-2004-0594 is a medium-severity vulnerability affecting openpkg openpkg. It was published on July 27, 2004 and has a CVSS 2.0 base score of 5.1 (MEDIUM).

How severe is CVE-2004-0594?

This vulnerability has a CVSS 2.0 base score of 5.1, rated MEDIUM. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

How do I fix or remediate CVE-2004-0594?

Check the references section for vendor advisories and patches from openpkg. Update openpkg to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2004-0594?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2004-0594 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

Related MEDIUM CVEs from 2004

View all