CVE-2007-4661

php size calculation in chunk_split

Published Sep 4, 2007 CVSS 2.0 · 7.5 High EPSS 2.4% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2007-4643 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.
Ubuntu USN Ubuntu USN USN-549-1 PHP vulnerabilities
Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 7, 2024, 3:01 PM
Reserved
Sep 4, 2007, 12:00 AM
Status
Modified
Published
Sep 4, 2007, 10:17 PM
Modified
Jun 16, 2026, 10:44 PM
Severity
Moderate
Public date
Aug 30, 2007, 12:00 AM