CVE-2007-4661

Summary

CVECVE-2007-4661
StatePUBLISHED
Assignermitre
Source PriorityCVE Program / NVD first with legacy fallback
Published2007-09-04 22:17:00 UTC
Updated2026-04-23 00:35:47 UTC
DescriptionThe 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.

Risk And Classification

Primary CVSS: v2.0 7.5 from [email protected]

AV:N/AC:L/Au:N/C:P/I:P/A:P

Problem Types: CWE-119 | CWE-399 | n/a

CVSS v2.0 Breakdown

Access Vector
Network
Access Complexity
Low
Authentication
None
Confidentiality
Partial
Integrity
Partial
Availability
Partial

AV:N/AC:L/Au:N/C:P/I:P/A:P

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Php Php 5.2.3 All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Na N/a affected n/a Not specified

References

ReferenceSourceLinkTags
Ubuntu update for php - Advisories - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com
cvs.php.net/viewvc.cgi/php-src/ext/standard/string.c af854a3a-2127-422b-91ae-364da2661108 cvs.php.net Exploit
[security-announce] SUSE Security Announcement: php4, php5 (SUSE-SA:2008 af854a3a-2127-422b-91ae-364da2661108 lists.opensuse.org
USN-549-2: PHP regression | Ubuntu af854a3a-2127-422b-91ae-364da2661108 www.ubuntu.com
SUSE update for php4 and php5 - Advisories - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com
Gentoo Linux Documentation -- PHP: Multiple vulnerabilities af854a3a-2127-422b-91ae-364da2661108 www.gentoo.org
USN-549-1: PHP vulnerabilities | Ubuntu security notices af854a3a-2127-422b-91ae-364da2661108 usn.ubuntu.com
PHP Multiple Vulnerabilities - Advisories - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com Patch
rPath Update for Multiple php Packages - Advisories - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com
Gentoo update for php - Advisories - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com
Bug #173043 “php5 5.2.3-1ubuntu6.1 introduced segfault regressio...” : Bugs : “php5” package : Ubuntu af854a3a-2127-422b-91ae-364da2661108 launchpad.net
PHP: PHP 5.2.4 Release Announcement af854a3a-2127-422b-91ae-364da2661108 www.php.net Patch
issues.rpath.com/browse/RPL-1702 af854a3a-2127-422b-91ae-364da2661108 issues.rpath.com
PHP: PHP 5 ChangeLog af854a3a-2127-422b-91ae-364da2661108 www.php.net
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Vendor Comments And Credit

OrganizationPublishedContributorStatement
Mandriva2007-09-18Vincent DanenNot vulnerable. Mandriva has not issued an update to date to fix CVE-2007-2872 and the updates in progress are using a correct fix.
Red Hat2007-09-05Mark J CoxNot 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.

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report