First published: Tue Aug 08 2006(Updated: )
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.
Credit: secalert@redhat.com secalert@redhat.com
Affected Software | Affected Version | How to fix |
---|---|---|
PHP | =4.3.9 | |
PHP | =4.0-beta1 | |
PHP | =5.1.2 | |
PHP | =4.0-beta4 | |
PHP | =4.2.0 | |
PHP | =5.1.1 | |
PHP | =5.0.0-beta1 | |
PHP | =4.1.0 | |
PHP | =4.3.4 | |
PHP | =4.0.4 | |
PHP | =4.3.0 | |
PHP | =4.0.5 | |
PHP | =5.0-rc1 | |
PHP | =5.0.5 | |
PHP | =4.3.6 | |
PHP | =5.0.1 | |
PHP | =5.1.4 | |
PHP | =4.0.7-rc2 | |
PHP | =4.3.7 | |
PHP | =5.0.4 | |
PHP | =4.0.7-rc1 | |
PHP | =4.2.2 | |
PHP | =4.4.2 | |
PHP | =4.0-rc1 | |
PHP | =4.3.2 | |
PHP | =4.3.11 | |
PHP | =4.0.0 | |
PHP | =4.0.3-patch1 | |
PHP | =4.0.7 | |
PHP | =4.0.2 | |
PHP | =4.3.3 | |
PHP | =5.0-rc3 | |
PHP | =4.1.1 | |
PHP | =4.4.3 | |
PHP | =5.0.0-rc2 | |
PHP | =5.0.3 | |
PHP | =4.2.3 | |
PHP | =5.1.0 | |
PHP | =4.0.1-patch1 | |
PHP | =5.0.0-rc3 | |
PHP | =4.0 | |
PHP | =4.0-beta2 | |
PHP | =4.0.1-patch2 | |
PHP | =4.0.6 | |
PHP | =5.0-rc2 | |
PHP | =4.1.2 | |
PHP | =5.0.0-beta3 | |
PHP | =4.0.7-rc3 | |
PHP | =4.0-rc2 | |
PHP | =4.3.1 | |
PHP | =4.0-beta_4_patch1 | |
PHP | =4.4.0 | |
PHP | =4.3.10 | |
PHP | =4.2.1 | |
PHP | =5.0.0-rc1 | |
PHP | =4.0.4-patch1 | |
PHP | =4.0.1 | |
PHP | =5.0.2 | |
PHP | =4.2 | |
PHP | =4.4.1 | |
PHP | =4.0-beta3 | |
PHP | =4.0.3 | |
PHP | =5.0.0-beta4 | |
PHP | =5.0.0 | |
PHP | =4.3.8 | |
PHP | =4.3.5 | |
PHP | =5.0.0-beta2 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2006-4020 has a moderate severity rating as it allows arbitrary code execution through a buffer over-read in certain versions of PHP.
To fix CVE-2006-4020, upgrade PHP to a version later than 5.1.4 or 4.4.3.
CVE-2006-4020 affects PHP versions 4.0 and above up to 5.1.4 and 4.4.3.
Yes, CVE-2006-4020 can lead to significant security vulnerabilities including remote code execution.
The implications of CVE-2006-4020 for PHP applications include the potential for attackers to run arbitrary code, compromising the server's integrity.