CVE-2006-4812 Integer overflow in n/a
Remote attackers can execute arbitrary code via integer overflow in PHP's unserialize function, affecting web applications using vulnerable PHP versions.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2006-4812?
CVE-2006-4812 is a critical vulnerability in Php Php, published on 9 Oct 2006. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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).
Weakness: CWE-94
Which versions are affected by CVE-2006-4812?
It affects 1 product.
Linux distribution packages (32)
php Red Hat:enterprise_linux:2.1::as | All versions | 0:4.1.2-2.12 |
php-devel Red Hat:enterprise_linux:2.1::as | All versions | 0:4.1.2-2.12 |
php-imap Red Hat:enterprise_linux:2.1::as | All versions | 0:4.1.2-2.12 |
php-ldap Red Hat:enterprise_linux:2.1::as | All versions | 0:4.1.2-2.12 |
php-manual Red Hat:enterprise_linux:2.1::as | All versions | 0:4.1.2-2.12 |
php-mysql Red Hat:enterprise_linux:2.1::as | All versions | 0:4.1.2-2.12 |
php-odbc Red Hat:enterprise_linux:2.1::as | All versions | 0:4.1.2-2.12 |
php-pgsql Red Hat:enterprise_linux:2.1::as | All versions | 0:4.1.2-2.12 |
php Red Hat:enterprise_linux:2.1::aw | All versions | 0:4.1.2-2.12 |
php-devel Red Hat:enterprise_linux:2.1::aw | All versions | 0:4.1.2-2.12 |
php-imap Red Hat:enterprise_linux:2.1::aw | All versions | 0:4.1.2-2.12 |
php-ldap Red Hat:enterprise_linux:2.1::aw | All versions | 0:4.1.2-2.12 |
php-manual Red Hat:enterprise_linux:2.1::aw | All versions | 0:4.1.2-2.12 |
php-mysql Red Hat:enterprise_linux:2.1::aw | All versions | 0:4.1.2-2.12 |
php-odbc Red Hat:enterprise_linux:2.1::aw | All versions | 0:4.1.2-2.12 |
php-pgsql Red Hat:enterprise_linux:2.1::aw | All versions | 0:4.1.2-2.12 |
php Red Hat:enterprise_linux:2.1::es | All versions | 0:4.1.2-2.12 |
php-devel Red Hat:enterprise_linux:2.1::es | All versions | 0:4.1.2-2.12 |
php-imap Red Hat:enterprise_linux:2.1::es | All versions | 0:4.1.2-2.12 |
php-ldap Red Hat:enterprise_linux:2.1::es | All versions | 0:4.1.2-2.12 |
php-manual Red Hat:enterprise_linux:2.1::es | All versions | 0:4.1.2-2.12 |
php-mysql Red Hat:enterprise_linux:2.1::es | All versions | 0:4.1.2-2.12 |
php-odbc Red Hat:enterprise_linux:2.1::es | All versions | 0:4.1.2-2.12 |
php-pgsql Red Hat:enterprise_linux:2.1::es | All versions | 0:4.1.2-2.12 |
php Red Hat:enterprise_linux:2.1::ws | All versions | 0:4.1.2-2.12 |
php-devel Red Hat:enterprise_linux:2.1::ws | All versions | 0:4.1.2-2.12 |
php-imap Red Hat:enterprise_linux:2.1::ws | All versions | 0:4.1.2-2.12 |
php-ldap Red Hat:enterprise_linux:2.1::ws | All versions | 0:4.1.2-2.12 |
php-manual Red Hat:enterprise_linux:2.1::ws | All versions | 0:4.1.2-2.12 |
php-mysql Red Hat:enterprise_linux:2.1::ws | All versions | 0:4.1.2-2.12 |
php-odbc Red Hat:enterprise_linux:2.1::ws | All versions | 0:4.1.2-2.12 |
php-pgsql Red Hat:enterprise_linux:2.1::ws | All versions | 0:4.1.2-2.12 |
Products include Php Php.
How do I fix CVE-2006-4812?
Upgrade to a fixed version.
Is CVE-2006-4812 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2006-4812 exists.
Public exploit code: 1 Exploit-DB entry.
Other vulnerabilities in Php Php
Sources
Also known as CVE-2006-4170, GHSA-2g5f-835h-7qjr, RHSA-2006:0708.