Vulnerabilities · 2007 · Php
CVE-2007-4661
Php vulnerability
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.
Affected products
Php. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Php runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- secunia.com/advisories/26642 · Patch
- www.php.net/releases/5_2_4.php · Patch
- cvs.php.net/viewvc.cgi/php-src/ext/standard/string.c?r1=1.445.2.14.2.58&r2=1.445.2.14.2.59 · Exploit
- lists.opensuse.org/opensuse-security-announce/2008-01/msg00006.html
- secunia.com/advisories/26838
- secunia.com/advisories/27102
- secunia.com/advisories/27864
- secunia.com/advisories/28658
- nvd.nist.gov/vuln/detail/CVE-2007-4661
- cve.org/CVERecord?id=CVE-2007-4661
More vulnerabilities in Php products
CVE-2025-14180CVE-2025-14178CVE-2025-14177CVE-2025-6491CVE-2025-1861CVE-2025-1736CVE-2025-1735CVE-2025-1734All 740
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.