CVEvulnerability
CVE-2007-4661
7.5 HIGH
Official page ↗
- Status
- Modified
- Published
- 2007-09-04
- Last modified
- 2026-06-16
- Assigner
- [email protected]
- CVSS 2.0 ([email protected])
- 7.5 HIGH — AV:N/AC:L/Au:N/C:P/I:P/A:P
- Weaknesses
- CWE-119, CWE-399
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.
Affected configurations
• php php 5.2.3
Related
Weakness · not in database (1)
Weakness · CWE (1)
- CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer weakness
References
- 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 Exploit
- http://lists.opensuse.org/opensuse-security-announce/2008-01/msg00006.html lists.opensuse.org
- http://secunia.com/advisories/26642 Patch
- http://secunia.com/advisories/26838 secunia.com
- http://secunia.com/advisories/27102 secunia.com
- http://secunia.com/advisories/27864 secunia.com
- http://secunia.com/advisories/28658 secunia.com
- http://www.gentoo.org/security/en/glsa/glsa-200710-02.xml www.gentoo.org
- http://www.php.net/ChangeLog-5.php#5.2.4 www.php.net
- http://www.php.net/releases/5_2_4.php Patch
- http://www.ubuntu.com/usn/usn-549-2 www.ubuntu.com
- https://issues.rpath.com/browse/RPL-1702 issues.rpath.com
- https://launchpad.net/bugs/173043 launchpad.net
- https://usn.ubuntu.com/549-1/ usn.ubuntu.com
- 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 Exploit
- http://lists.opensuse.org/opensuse-security-announce/2008-01/msg00006.html lists.opensuse.org
- http://secunia.com/advisories/26642 Patch
- http://secunia.com/advisories/26838 secunia.com
- http://secunia.com/advisories/27102 secunia.com
- http://secunia.com/advisories/27864 secunia.com
- http://secunia.com/advisories/28658 secunia.com
- http://www.gentoo.org/security/en/glsa/glsa-200710-02.xml www.gentoo.org
- http://www.php.net/ChangeLog-5.php#5.2.4 www.php.net
- http://www.php.net/releases/5_2_4.php Patch
- http://www.ubuntu.com/usn/usn-549-2 www.ubuntu.com
- https://issues.rpath.com/browse/RPL-1702 issues.rpath.com
- https://launchpad.net/bugs/173043 launchpad.net
- https://usn.ubuntu.com/549-1/ usn.ubuntu.com