Integer overflow in PHP - CVE-2010-1866

 

Integer overflow in PHP - CVE-2010-1866

Published: February 8, 2024 / Updated: June 8, 2025


Vulnerability identifier: #VU110307
CSH Severity: High
CVSS v4.0: 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-2010-1866
CWE-ID: CWE-190
Exploitation vector: Remote access
Exploit availability: Public exploit is available
Vendor: PHP Group
Affected software:
PHP

Detailed vulnerability description

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

The dechunk filter in PHP 5.3 through 5.3.2, when decoding an HTTP chunked encoding stream, allows context-dependent attackers to cause a denial of service (crash) and possibly trigger memory corruption via a negative chunk size, which bypasses a signed comparison, related to an integer overflow in the chunk size decoder.


How to mitigate CVE-2010-1866

Install update from vendor's website.

Sources