ID:11585 - Exploit for Input validation error in PHP - CVE-2006-4020

 
Main Vulnerability Database Exploits ID:11585 - Exploit for Input validation error in PHP - CVE-2006-4020

ID:11585 - Exploit for Input validation error in PHP - CVE-2006-4020

Published: June 12, 2025


Vulnerability identifier: #VU110479
Vulnerability risk: Low
CVE-ID: CVE-2006-4020
CWE-ID: CWE-20
Exploitation vector: Local access
Vulnerable software:
PHP

Link to public exploit:


Vulnerability description

The vulnerability allows a local user to read and manipulate data.

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.


Remediation

Install update from vendor's website.