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
- securitytracker.com/id (vdb-entry)
- www.plain-text.info/sscanf_bug.txt (URL Repurposed, Exploit)
- www.php.net/release_5_1_5.php
- www.securityfocus.com/bid/19415 (vdb-entry)
- secunia.com/advisories/21768 (third-party-advisory)
- secunia.com/advisories/21403 (third-party-advisory)
- RHSA-2006:0669 (vendor-advisory)
- MDKSA-2006:144 (vendor-advisory)
- oval:org.mitre.oval:def:11062 (signature, vdb-entry)
- secunia.com/advisories/21847 (third-party-advisory)