Buffer overflow in PHP

CVE-2007-4661

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.

Vulnerability class: Buffer Overflow

Published · last modified .

CVSS v2 metric

CVSS v2 base score 7.5 (High). Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P. This CVE predates CVSS v3 and has no v3 score from NVD.

EPSS exploit prediction

EPSS: 0.024 (83.1th percentile), scored .

Low probability of exploitation in the next 30 days, but still tracked. 83rd percentile — 83.1% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2007-4661: held from 0.024 to 0.024.

EPSS over last 30 days · oldest: 0.024 · newest: 0.024 · change: 0.000

Affected products

  • PHP — versions 5.2.3

Weakness classification (CWE)

References