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 (80.1th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 80th percentile — 80.1% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.020 · newest: 0.020 · change: 0.000
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)
- www.redhat.com/support/errata/RHSA-2006-0669.html (vendor-advisory)
- www.mandriva.com/security/advisories (vendor-advisory)
- oval.cisecurity.org/repository/search/definition/oval:org.mitre.oval:def:11062 (signature, vdb-entry)
- secunia.com/advisories/21847 (third-party-advisory)