CVE-2006-4812

PHP <5.1.6 & 4 - RCE

Title source: llm

Description

Integer overflow in PHP 5 up to 5.1.6 and 4 before 4.3.0 allows remote attackers to execute arbitrary code via an argument to the unserialize PHP function with a large value for the number of array elements, which triggers the overflow in the Zend Engine ecalloc function (Zend/zend_alloc.c).

Exploits (1)

exploitdb WORKING POC VERIFIED
by anonymous · phpremotephp
https://www.exploit-db.com/exploits/28760

Scores

EPSS 0.3941
EPSS Percentile 97.3%

Details

CWE
CWE-94
Status published
Products (30)
php/php 4.0
php/php 4.0.1 (3 CPE variants)
php/php 4.0.2
php/php 4.0.3 (2 CPE variants)
php/php 4.0.4
php/php 4.0.5
php/php 4.0.6
php/php 4.0.7 (4 CPE variants)
php/php 4.1.0
php/php 4.1.1
... and 20 more
Published Oct 10, 2006
Tracked Since Feb 18, 2026