{"id":"CVE-2007-4661","sourceIdentifier":"cve@mitre.org","published":"2007-09-04T22:17:00.000","lastModified":"2026-06-16T22:44:31.933","vulnStatus":"Modified","cveTags":[],"descriptions":[{"lang":"en","value":"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."},{"lang":"es","value":"La función chunk_split en string.c en PHP 5.2.3 no calcula adecuadamente el tamaño de búfer necesario debido a la pérdida de precisión cuando se realizan operaciones de entero con números con punto flotante, lo cual tiene vectores de ataque e impacto desconocido, posiblemente como resultado de un desbordamiento de búfer basado en pila. NOTA: esto puede ser debido a un parche incompleto para CVE-2007-2872."}],"affected":[{"source":"cve@mitre.org","affectedData":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}]}],"metrics":{"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:P/I:P/A:P","baseScore":7.5,"accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL"},"baseSeverity":"HIGH","exploitabilityScore":10.0,"impactScore":6.4,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":true,"userInteractionRequired":false}]},"weaknesses":[{"source":"nvd@nist.gov","type":"Primary","description":[{"lang":"en","value":"CWE-119"},{"lang":"en","value":"CWE-399"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:php:php:5.2.3:*:*:*:*:*:*:*","matchCriteriaId":"86767200-6C9C-4C3E-B111-0E5BE61E197B"}]}]}],"references":[{"url":"http://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","source":"cve@mitre.org","tags":["Exploit"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2008-01/msg00006.html","source":"cve@mitre.org"},{"url":"http://secunia.com/advisories/26642","source":"cve@mitre.org","tags":["Patch"]},{"url":"http://secunia.com/advisories/26838","source":"cve@mitre.org"},{"url":"http://secunia.com/advisories/27102","source":"cve@mitre.org"},{"url":"http://secunia.com/advisories/27864","source":"cve@mitre.org"},{"url":"http://secunia.com/advisories/28658","source":"cve@mitre.org"},{"url":"http://www.gentoo.org/security/en/glsa/glsa-200710-02.xml","source":"cve@mitre.org"},{"url":"http://www.php.net/ChangeLog-5.php#5.2.4","source":"cve@mitre.org"},{"url":"http://www.php.net/releases/5_2_4.php","source":"cve@mitre.org","tags":["Patch"]},{"url":"http://www.ubuntu.com/usn/usn-549-2","source":"cve@mitre.org"},{"url":"https://issues.rpath.com/browse/RPL-1702","source":"cve@mitre.org"},{"url":"https://launchpad.net/bugs/173043","source":"cve@mitre.org"},{"url":"https://usn.ubuntu.com/549-1/","source":"cve@mitre.org"},{"url":"http://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","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Exploit"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2008-01/msg00006.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://secunia.com/advisories/26642","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"]},{"url":"http://secunia.com/advisories/26838","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://secunia.com/advisories/27102","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://secunia.com/advisories/27864","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://secunia.com/advisories/28658","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.gentoo.org/security/en/glsa/glsa-200710-02.xml","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.php.net/ChangeLog-5.php#5.2.4","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.php.net/releases/5_2_4.php","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"]},{"url":"http://www.ubuntu.com/usn/usn-549-2","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://issues.rpath.com/browse/RPL-1702","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://launchpad.net/bugs/173043","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://usn.ubuntu.com/549-1/","source":"af854a3a-2127-422b-91ae-364da2661108"}],"vendorComments":[{"organization":"Mandriva","comment":"Not vulnerable. Mandriva has not issued an update to date to fix CVE-2007-2872 and the updates in progress are using a correct fix.","lastModified":"2007-09-18T00:00:00"},{"organization":"Red Hat","comment":"Not vulnerable.  Red Hat did not include an incomplete fix for CVE-2007-2872 for PHP in Red Hat Enterprise Linux or Red Hat Application Stack.","lastModified":"2007-09-05T00:00:00"}]}