U.S. flag   An official website of the United States government
Dot gov

Official websites use .gov
A .gov website belongs to an official government organization in the United States.

Https

Secure .gov websites use HTTPS
A lock (Dot gov) or https:// means you've safely connected to the .gov website. Share sensitive information only on official, secure websites.

CVE-2007-4661 Detail

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.


Metrics

NVD enrichment efforts reference publicly available information to associate vector strings. CVSS information contributed by other sources is also displayed.
CVSS 4.0 Severity and Vector Strings:

NIST CVSS score
NIST: NVD
N/A
NVD assessment not yet provided.

Vendor Statements (disclaimer)

Official Statement from Mandriva (09/18/2007)

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.

Official Statement from Red Hat (09/05/2007)

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.

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to [email protected].

URL Source(s) Tag(s)
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 CVE, MITRE Exploit 
http://lists.opensuse.org/opensuse-security-announce/2008-01/msg00006.html CVE, MITRE
http://secunia.com/advisories/26642 CVE, MITRE Patch 
http://secunia.com/advisories/26838 CVE, MITRE
http://secunia.com/advisories/27102 CVE, MITRE
http://secunia.com/advisories/27864 CVE, MITRE
http://secunia.com/advisories/28658 CVE, MITRE
http://www.gentoo.org/security/en/glsa/glsa-200710-02.xml CVE, MITRE
http://www.php.net/ChangeLog-5.php#5.2.4 CVE, MITRE
http://www.php.net/releases/5_2_4.php CVE, MITRE Patch 
http://www.ubuntu.com/usn/usn-549-2 CVE, MITRE
https://issues.rpath.com/browse/RPL-1702 CVE, MITRE
https://launchpad.net/bugs/173043 CVE, MITRE
https://usn.ubuntu.com/549-1/ CVE, MITRE

Weakness Enumeration

CWE-ID CWE Name Source
CWE-399 Resource Management Errors cwe source acceptance level NIST  
CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer cwe source acceptance level NIST  

Known Affected Software Configurations Switch to CPE 2.2

CPEs loading, please wait.

Denotes Vulnerable Software
Are we missing a CPE here? Please let us know.

Change History

4 change records found show changes

Quick Info

CVE Dictionary Entry:
CVE-2007-4661
NVD Published Date:
09/04/2007
NVD Last Modified:
04/08/2025
Source:
MITRE