BlogSafe.org

PHP CVEs

Vulnerabilities in the PHP language itself, and which PHP versions they affect.

← Back to CVE list

CVE-2004-0594

MEDIUM 5.1 CVSS 2.0
Published
July 27, 2004
Last modified
June 16, 2026
NVD status
Modified
Reported by
cve@mitre.org
Weakness
CWE-367
CVSS vector
AV:N/AC:H/Au:N/C:P/I:P/A:P

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.

Affected products and versions

  • PHP — From 4.0 (including) to 4.3.7 (excluding)
  • PHP versions 5.0.0beta1, 5.0.0beta2, 5.0.0beta3, 5.0.0beta4, 5.0.0rc1, 5.0.0rc2

References

  • distro.conectiva.com.br http://distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000847 Broken Link
  • lists.grok.org.uk http://lists.grok.org.uk/pipermail/full-disclosure/2004-July/023908.html Broken Link, URL Repurposed
  • marc.info http://marc.info/?l=bugtraq&m=108981780109154&w=2 Third Party Advisory
  • marc.info http://marc.info/?l=bugtraq&m=108982983426031&w=2 Third Party Advisory
  • marc.info http://marc.info/?l=bugtraq&m=109051444105182&w=2 Third Party Advisory
  • marc.info http://marc.info/?l=bugtraq&m=109181600614477&w=2 Third Party Advisory
  • www.debian.org http://www.debian.org/security/2004/dsa-531 Broken Link
  • www.debian.org http://www.debian.org/security/2005/dsa-669 Mailing List
  • www.gentoo.org http://www.gentoo.org/security/en/glsa/glsa-200407-13.xml Third Party Advisory
  • www.mandrakesecure.net http://www.mandrakesecure.net/en/advisories/advisory.php?name=MDKSA-2004:068 Broken Link
  • www.novell.com http://www.novell.com/linux/security/advisories/2004_21_php4.html Broken Link
  • www.redhat.com http://www.redhat.com/support/errata/RHSA-2004-392.html Broken Link
  • www.redhat.com http://www.redhat.com/support/errata/RHSA-2004-395.html Broken Link
  • www.redhat.com http://www.redhat.com/support/errata/RHSA-2004-405.html Broken Link
  • www.redhat.com http://www.redhat.com/support/errata/RHSA-2005-816.html Broken Link
  • www.securityfocus.com http://www.securityfocus.com/bid/10725 Broken Link, Third Party Advisory, VDB Entry
  • www.trustix.org http://www.trustix.org/errata/2004/0039/ Broken Link
  • exchange.xforce.ibmcloud.com https://exchange.xforce.ibmcloud.com/vulnerabilities/16693 Third Party Advisory, VDB Entry
  • oval.cisecurity.org https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10896 Broken Link
  • nvd.nist.gov Official NVD record