Vulnerability Description
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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Php | Php | 5.2.3 |
Related Weaknesses (CWE)
References
- http://cvs.php.net/viewvc.cgi/php-src/ext/standard/string.c?r1=1.445.2.14.2.58&rExploit
- http://lists.opensuse.org/opensuse-security-announce/2008-01/msg00006.html
- http://secunia.com/advisories/26642Patch
- http://secunia.com/advisories/26838
- http://secunia.com/advisories/27102
- http://secunia.com/advisories/27864
- http://secunia.com/advisories/28658
- http://www.gentoo.org/security/en/glsa/glsa-200710-02.xml
- http://www.php.net/ChangeLog-5.php#5.2.4
- http://www.php.net/releases/5_2_4.phpPatch
- http://www.ubuntu.com/usn/usn-549-2
- https://issues.rpath.com/browse/RPL-1702
- https://launchpad.net/bugs/173043
- https://usn.ubuntu.com/549-1/
- http://cvs.php.net/viewvc.cgi/php-src/ext/standard/string.c?r1=1.445.2.14.2.58&rExploit
FAQ
What is CVE-2007-4661?
CVE-2007-4661 is a vulnerability with a CVSS score of 7.5 (HIGH). 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 unk...
How severe is CVE-2007-4661?
CVE-2007-4661 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2007-4661?
Check the references section above for vendor advisories and patch information. Affected products include: Php Php.