CVE-2004-0594
MEDIUM 5.1CVSS 2.0The 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
- 27 Jul 2004
- Last modified
- 16 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-367
- Sources
- NVDJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.1 | AV:N/AC:H/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | openpkg | openpkgcpe:2.3:a:openpkg:openpkg:2.0:*:*:*:*:*:*:* |
= 2.0 | |
| NVD | openpkg | openpkgcpe:2.3:a:openpkg:openpkg:2.1:*:*:*:*:*:*:* |
= 2.1 | |
| NVD | avaya | converged_communications_servercpe:2.3:h:avaya:converged_communications_server:2.0:*:*:*:*:*:*:* |
= 2.0 | |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:3.0:*:*:*:*:*:*:* |
= 3.0 | |
| NVD | hp | hp-uxcpe:2.3:o:hp:hp-ux:b.11.00:*:*:*:*:*:*:* |
= b.11.00 | |
| NVD | hp | hp-uxcpe:2.3:o:hp:hp-ux:b.11.11:*:*:*:*:*:*:* |
= b.11.11 | |
| NVD | hp | hp-uxcpe:2.3:o:hp:hp-ux:b.11.22:*:*:*:*:*:*:* |
= b.11.22 | |
| NVD | hp | hp-uxcpe:2.3:o:hp:hp-ux:b.11.23:*:*:*:*:*:*:* |
= b.11.23 | |
| NVD | trustix | secure_linuxcpe:2.3:o:trustix:secure_linux:1.5:*:*:*:*:*:*:* |
= 1.5 | |
| NVD | trustix | secure_linuxcpe:2.3:o:trustix:secure_linux:2.0:*:*:*:*:*:*:* |
= 2.0 | |
| NVD | trustix | secure_linuxcpe:2.3:o:trustix:secure_linux:2.1:*:*:*:*:*:*:* |
= 2.1 | |
| NVD | php | phpcpe:2.3:a:php:php:*:*:*:*:*:*:*:* |
>= 4.0, < 4.3.7 | 4.3.7 |
| NVD | php | phpcpe:2.3:a:php:php:5.0.0:beta1:*:*:*:*:*:* |
= 5.0.0 | |
| NVD | php | phpcpe:2.3:a:php:php:5.0.0:beta2:*:*:*:*:*:* |
= 5.0.0 | |
| NVD | php | phpcpe:2.3:a:php:php:5.0.0:beta3:*:*:*:*:*:* |
= 5.0.0 | |
| NVD | php | phpcpe:2.3:a:php:php:5.0.0:beta4:*:*:*:*:*:* |
= 5.0.0 | |
| NVD | php | phpcpe:2.3:a:php:php:5.0.0:rc1:*:*:*:*:*:* |
= 5.0.0 | |
| NVD | php | phpcpe:2.3:a:php:php:5.0.0:rc2:*:*:*:*:*:* |
= 5.0.0 |
References
- http://distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000847 · Broken Link
- http://lists.grok.org.uk/pipermail/full-disclosure/2004-July/023908.html · Broken Link, URL Repurposed
- http://marc.info/?l=bugtraq&m=108981780109154&w=2 · Third Party Advisory
- http://marc.info/?l=bugtraq&m=108982983426031&w=2 · Third Party Advisory
- http://marc.info/?l=bugtraq&m=109051444105182&w=2 · Third Party Advisory
- http://marc.info/?l=bugtraq&m=109181600614477&w=2 · Third Party Advisory
- http://www.debian.org/security/2004/dsa-531 · Broken Link
- http://www.debian.org/security/2005/dsa-669 · Mailing List
- http://www.gentoo.org/security/en/glsa/glsa-200407-13.xml · Third Party Advisory
- http://www.mandrakesecure.net/en/advisories/advisory.php?name=MDKSA-2004:068 · Broken Link
- http://www.novell.com/linux/security/advisories/2004_21_php4.html · Broken Link
- http://www.redhat.com/support/errata/RHSA-2004-392.html · Broken Link
- http://www.redhat.com/support/errata/RHSA-2004-395.html · Broken Link
- http://www.redhat.com/support/errata/RHSA-2004-405.html · Broken Link
- http://www.redhat.com/support/errata/RHSA-2005-816.html · Broken Link
- http://www.securityfocus.com/bid/10725 · Broken Link, Third Party Advisory, VDB Entry
- http://www.trustix.org/errata/2004/0039/ · Broken Link
- https://exchange.xforce.ibmcloud.com/vulnerabilities/16693 · Third Party Advisory, VDB Entry
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10896 · Broken Link
History
- 25 Nov 2026 20:12 UTC · NVD: first stored (published 27 Jul 2004)