VYPR
Unrated severityNVD Advisory· Published Jul 27, 2004· Updated Apr 16, 2026

CVE-2004-0594

CVE-2004-0594

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

18
  • OpenPKG/Openpkg2 versions
    cpe:2.3:a:openpkg:openpkg:2.0:*:*:*:*:*:*:*+ 1 more
    • cpe:2.3:a:openpkg:openpkg:2.0:*:*:*:*:*:*:*
    • cpe:2.3:a:openpkg:openpkg:2.1:*:*:*:*:*:*:*
  • PHP/PHP7 versions
    cpe:2.3:a:php:php:*:*:*:*:*:*:*:*+ 6 more
    • cpe:2.3:a:php:php:*:*:*:*:*:*:*:*range: >=4.0,<4.3.7
    • cpe:2.3:a:php:php:5.0.0:beta1:*:*:*:*:*:*
    • cpe:2.3:a:php:php:5.0.0:beta2:*:*:*:*:*:*
    • cpe:2.3:a:php:php:5.0.0:beta3:*:*:*:*:*:*
    • cpe:2.3:a:php:php:5.0.0:beta4:*:*:*:*:*:*
    • cpe:2.3:a:php:php:5.0.0:rc1:*:*:*:*:*:*
    • cpe:2.3:a:php:php:5.0.0:rc2:*:*:*:*:*:*
  • cpe:2.3:h:avaya:converged_communications_server:2.0:*:*:*:*:*:*:*
  • cpe:2.3:o:debian:debian_linux:3.0:*:*:*:*:*:*:*
  • HP/Hpux4 versions
    cpe:2.3:o:hp:hp-ux:b.11.00:*:*:*:*:*:*:*+ 3 more
    • cpe:2.3:o:hp:hp-ux:b.11.00:*:*:*:*:*:*:*
    • cpe:2.3:o:hp:hp-ux:b.11.11:*:*:*:*:*:*:*
    • cpe:2.3:o:hp:hp-ux:b.11.22:*:*:*:*:*:*:*
    • cpe:2.3:o:hp:hp-ux:b.11.23:*:*:*:*:*:*:*
  • cpe:2.3:o:trustix:secure_linux:1.5:*:*:*:*:*:*:*+ 2 more
    • cpe:2.3:o:trustix:secure_linux:1.5:*:*:*:*:*:*:*
    • cpe:2.3:o:trustix:secure_linux:2.0:*:*:*:*:*:*:*
    • cpe:2.3:o:trustix:secure_linux:2.1:*:*:*:*:*:*:*

Patches

0

No patches discovered yet.

Vulnerability mechanics

AI mechanics synthesis has not run for this CVE yet.

References

19

News mentions

0

No linked articles in our index yet.