First published: Tue Sep 04 2007(Updated: )
The chunk_split function in string.c in PHP 5.2.3 does not properly calculate the needed buffer size due to precision loss when performing integer arithmetic with floating point numbers, which has unknown attack vectors and impact, possibly resulting in a heap-based buffer overflow. NOTE: this is due to an incomplete fix for CVE-2007-2872.
Credit: cve@mitre.org
Affected Software | Affected Version | How to fix |
---|---|---|
PHP | =5.2.3 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2007-4661 is considered to have an unknown severity level due to the lack of defined attack vectors and impact.
To fix CVE-2007-4661, you should upgrade PHP to version 5.2.4 or later.
CVE-2007-4661 specifically affects PHP version 5.2.3.
Yes, CVE-2007-4661 has the potential to result in a heap-based buffer overflow.
The chunk_split function in string.c is implicated in CVE-2007-4661.