Skip to content
OpenAdvisories
Unscored CVE-2007-4661 EUVD-2007-4643GHSA-gm64-4hqj-9wvv

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 …

Published Sep 4, 2007 · Updated Aug 7, 2024 · Assigned by mitre

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Red Hat Rhel Application Stack 2 php +18 5.2.3-3.el5s2 RHSA-2007:0917

Advisories 1

References