Gentoo update for PHP



| Updated: 2025-06-28
Risk High
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2006-4812
CWE-ID CWE-94
Exploitation vector Network
Public exploit Public exploit code for vulnerability #1 is available.
Vulnerable software
Gentoo Linux
Operating systems & Components / Operating system

dev-lang/php
Operating systems & Components / Operating system package or component

Vendor Gentoo

Security Bulletin

This security bulletin contains one high risk vulnerability.

1) Code Injection

EUVDB-ID: #VU110468

Risk: High

CVSSv4.0: 8.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P/U:Amber]

CVE-ID: CVE-2006-4812

CWE-ID: CWE-94 - Improper Control of Generation of Code ('Code Injection')

Exploit availability: Yes

Description

The vulnerability allows a remote non-authenticated attacker to execute arbitrary code.

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).

Mitigation

Update the affected packages.
dev-lang/php to version: 5.1.6-r6

Vulnerable software versions

Gentoo Linux: All versions

dev-lang/php: before 5.1.6-r6

CPE2.3 External links

https://security.gentoo.org/glsa/200610-14


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability. However, proof of concept for this vulnerability is available.



###SIDEBAR###