### [CVE-2004-0594](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2004-0594) ![](https://img.shields.io/static/v1?label=Product&message=n%2Fa&color=blue) ![](https://img.shields.io/static/v1?label=Version&message=n%2Fa&color=blue) ![](https://img.shields.io/static/v1?label=Vulnerability&message=n%2Fa&color=brighgreen) ### 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. ### POC #### Reference - http://marc.info/?l=bugtraq&m=108981780109154&w=2 - http://marc.info/?l=bugtraq&m=108981780109154&w=2 - http://www.novell.com/linux/security/advisories/2004_21_php4.html - http://www.novell.com/linux/security/advisories/2004_21_php4.html #### Github No PoCs found on GitHub currently.