Back to CVE catalog

AI summary

The memory_limit functionality in PHP 4.x up to 4.3.7 and 5.x up to 5.0.0RC3 allows remote attackers to execute arbitrary code under certain conditions, such as when register_globals is enabled. Triggering a memory_limit abort during zend_hash_init lets an attacker overwrite a HashTable destructor pointer before initialization completes.

Generated automatically from the source description. Check the sources below before acting.

CVE-2004-0594

Memory_limit functionality vulnerability in PHP

Multiple products

At a glance

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.

Source description · CVE List / CNA

System impact

Attack complexityHigh
ConfidentialityPartial
IntegrityPartial
AvailabilityPartial

CVSS summary v2.0

5.1Medium
Published:
Updated:
EPSS:
54.856%
Exploited in attacks:
Not confirmed
Ransomware campaigns:
Not confirmed
Attack vector:
Network

Affected software

Vendor, product and affected version ranges.

Vendor, product and affected versions
Vendor:openpkgopenpkgAffected versions:
2.0Show full version range for openpkg
2.1
Vendor:phpphpAffected versions:
≥ 4.0, < 4.3.7Show full version range for php
5.0.0
Vendor:Debiandebian linuxAffected versions:
3.0
Vendor:hphp-uxAffected versions:
b.11.00Show full version range for hp-ux
b.11.11b.11.22b.11.23
Vendor:trustixsecure linuxAffected versions:
1.5Show full version range for secure linux
2.02.1
Vendor:avayaconverged communications serverAffected versions:
2.0Show full version range for converged communications server
  • CPE applicability can depend on other products or environments. Consult the full source configuration.

1–6 of 6 · Page 1 of 1

CVSS scores and metrics2
[email protected] · NVD (Primary)Primary5.1 / 10MediumCVSS 2.0Details
Attack complexity
High
Confidentiality
Partial
Integrity
Partial
Availability
Partial
Attack vector
Network
Authentication
Not required

Source vector

AV:N/AC:H/Au:N/C:P/I:P/A:P
nvd · Wazuh CTI (cna)5.1 / 10MediumCVSS 2.0Details
Attack complexity
High
Confidentiality
Partial
Integrity
Partial
Availability
Partial
Attack vector
Network
Authentication
Not required

Source vector

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

CVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.

Sources and advisories23

This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences