CWE
NVD-CWE-Other 367
Advisory Published
Updated

CVE-2004-0594

First published: Fri Jul 16 2004(Updated: )

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.

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
openpkg openpkg=2.0
openpkg openpkg=2.1
avaya converged communications server=2.0
Debian GNU/Linux=3.0
HPE HP-UX=b.11.00
HPE HP-UX=b.11.11
HPE HP-UX=b.11.22
HPE HP-UX=b.11.23
Trustix Secure Linux=1.5
Trustix Secure Linux=2.0
Trustix Secure Linux=2.1
PHP>=4.0<4.3.7
PHP=5.0.0-beta1
PHP=5.0.0-beta2
PHP=5.0.0-beta3
PHP=5.0.0-beta4
PHP=5.0.0-rc1
PHP=5.0.0-rc2
Red Hat Fedora Core=core_2.0
Red Hat Fedora Core=core_1.0
PHP=3.0
PHP=3.0.5
PHP=3.0.11
Avaya S8500=r2.0.1
PHP=4.2.0
PHP=3.0.1
PHP=3.0.2
PHP=4.1.0
PHP=4.0.4
PHP=4.3.0
PHP=4.0.5
PHP=5.0-rc1
Avaya S8300=r2.0.0
PHP=3.0.8
PHP=4.3.6
PHP=3.0.13
Avaya Integrated Management Suite
PHP=4.0.7-rc2
PHP=4.3.7
PHP=4.0.7-rc1
PHP=4.2.2
PHP=3.0.7
PHP=4.3.2
PHP=3.0.6
PHP=4.0.3-patch1
PHP=3.0.17
PHP=4.0.7
PHP=4.0.2
PHP=4.3.3
PHP=5.0-rc3
PHP=4.1.1
PHP=3.0.15
PHP=3.0.16
avaya s8700=r2.0.1
PHP=3.0.10
PHP=3.0.4
PHP=4.2.3
PHP=4.0.1-patch1
PHP=4.0
PHP=4.0.1-patch2
PHP=4.0.6
PHP=5.0-rc2
PHP=4.1.2
avaya s8700=r2.0.0
PHP=4.0.7-rc3
PHP=4.3.1
Avaya S8500=r2.0.0
PHP=3.0.18
PHP=4.2.1
PHP=4.0.1
PHP=3.0.12
PHP=4.2
PHP=4.0.3
PHP=3.0.14
PHP=3.0.9
PHP=3.0.3
PHP=4.3.5
Avaya S8300=r2.0.1

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2004-0594?

    CVE-2004-0594 is considered a critical vulnerability due to the potential for remote code execution.

  • How do I fix CVE-2004-0594?

    To fix CVE-2004-0594, update PHP to version 5.0.0 or later and ensure that register_globals is disabled.

  • Which PHP versions are affected by CVE-2004-0594?

    CVE-2004-0594 affects PHP versions 4.x up to 4.3.7 and 5.x up to 5.0.0 RC3.

  • Can CVE-2004-0594 be exploited remotely?

    Yes, CVE-2004-0594 allows remote attackers to execute arbitrary code under certain conditions.

  • What impact can CVE-2004-0594 have on my system?

    Exploiting CVE-2004-0594 can lead to full system compromise, allowing attackers to take control of the affected server.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203