Vulnerability in PHP

CVE-2006-4020

scanf.c in PHP 5.1.4 and earlier, and 4.4.3 and earlier, allows context-dependent attackers to execute arbitrary code via a sscanf PHP function call that performs argument swapping, which increments an index past the end of an array and triggers a buffer over-read.

Published · last modified .

CVSS v2 metric

CVSS v2 base score 4.6 (Medium). Vector: AV:L/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.020, 81.2th percentile (scored ); unchanged over 30 days. About EPSS.

Affected products

  • PHP — versions 4.0, 4.0.0, 4.0.1

References