CVE-2007-2872: Integer Overflow
Description of problem: PHP 5.2.3 release: http://www.php.net/releases/523.php
Fixed an integer overflow inside chunksplit() (by Gerhard Wagner, CVE-2007-2872)
Other sources
Multiple integer overflows in the chunksplit function in PHP 5 before 5.2.3 and PHP 4 before 4.4.8 allow remote attackers to cause a denial of service (crash) or execute arbitrary code via the (1) chunks, (2) srclen, and (3) chunklen arguments.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 5.2.3 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 4.4.8
Event History
Frequently Asked Questions
What is the severity of CVE-2007-2872?
CVE-2007-2872 is classified as a security vulnerability that can lead to denial of service or remote code execution.
How do I fix CVE-2007-2872?
To fix CVE-2007-2872, upgrade to PHP version 5.2.3 or later and eliminate any vulnerable versions.
What software is affected by CVE-2007-2872?
CVE-2007-2872 affects PHP versions before 5.2.3 and versions 4 up to 4.4.7.
Can CVE-2007-2872 be exploited remotely?
Yes, CVE-2007-2872 can be exploited remotely, allowing attackers to execute arbitrary code.
What are the specific functions involved in CVE-2007-2872?
The vulnerability in CVE-2007-2872 is found in the chunk_split function's handling of arguments.