CVE-2007-4661
php size calculation in chunk_split
Severity Score
Exploit Likelihood
Affected Versions
Public Exploits
1Exploited in Wild
-Decision
Descriptions
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.
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.
CVSS Scores
SSVC
- Decision:-
Timeline
- 2007-09-04 CVE Reserved
- 2007-09-04 CVE Published
- 2024-08-07 CVE Updated
- 2024-08-07 First Exploit
- 2024-08-15 EPSS Updated
- ---------- Exploited in Wild
- ---------- KEV Due Date
CWE
- CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer
- CWE-399: Resource Management Errors
CAPEC
References (16)
URL | Tag | Source |
---|---|---|
http://secunia.com/advisories/26838 | Third Party Advisory | |
http://secunia.com/advisories/27102 | Third Party Advisory | |
http://secunia.com/advisories/27864 | Third Party Advisory | |
http://secunia.com/advisories/28658 | Third Party Advisory | |
http://www.php.net/ChangeLog-5.php#5.2.4 | X_refsource_confirm | |
https://issues.rpath.com/browse/RPL-1702 | X_refsource_confirm | |
https://launchpad.net/bugs/173043 | X_refsource_confirm |
URL | Date | SRC |
---|---|---|
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 | 2024-08-07 |
URL | Date | SRC |
---|---|---|
http://secunia.com/advisories/26642 | 2018-10-03 | |
http://www.php.net/releases/5_2_4.php | 2018-10-03 |
URL | Date | SRC |
---|---|---|
http://lists.opensuse.org/opensuse-security-announce/2008-01/msg00006.html | 2018-10-03 | |
http://www.gentoo.org/security/en/glsa/glsa-200710-02.xml | 2018-10-03 | |
http://www.ubuntu.com/usn/usn-549-2 | 2018-10-03 | |
https://usn.ubuntu.com/549-1 | 2018-10-03 | |
https://access.redhat.com/security/cve/CVE-2007-4661 | 2007-10-23 | |
https://bugzilla.redhat.com/show_bug.cgi?id=278161 | 2007-10-23 |