CVE-2006-4020

N/A Unknown
Published: August 08, 2006 Modified: April 16, 2026
View on NVD

Description

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.

AI Explanation

Get an AI-powered plain-language explanation of this vulnerability and remediation steps.

Login to generate AI explanation

References to Advisories, Solutions, and Tools

Patch Vendor Advisory Exploit Third Party Advisory
http://bugs.php.net/bug.php?id=38322
Source: secalert@redhat.com
Exploit Patch
http://secunia.com/advisories/21403
Source: secalert@redhat.com
http://secunia.com/advisories/21467
Source: secalert@redhat.com
http://secunia.com/advisories/21546
Source: secalert@redhat.com
http://secunia.com/advisories/21608
Source: secalert@redhat.com
http://secunia.com/advisories/21683
Source: secalert@redhat.com
http://secunia.com/advisories/21768
Source: secalert@redhat.com
http://secunia.com/advisories/21847
Source: secalert@redhat.com
http://secunia.com/advisories/22004
Source: secalert@redhat.com
http://secunia.com/advisories/22039
Source: secalert@redhat.com
http://secunia.com/advisories/22069
Source: secalert@redhat.com
http://secunia.com/advisories/22440
Source: secalert@redhat.com
http://secunia.com/advisories/22487
Source: secalert@redhat.com
http://secunia.com/advisories/22538
Source: secalert@redhat.com
http://secunia.com/advisories/23247
Source: secalert@redhat.com
http://securitytracker.com/id?1016984
Source: secalert@redhat.com
http://www.php.net/ChangeLog-5.php#5.1.5
Source: secalert@redhat.com
http://www.php.net/release_5_1_5.php
Source: secalert@redhat.com
http://www.plain-text.info/sscanf_bug.txt
Source: secalert@redhat.com
Exploit URL Repurposed
http://www.securityfocus.com/archive/1/442438/30/0/threaded
Source: secalert@redhat.com
Exploit Patch Vendor Advisory
http://www.securityfocus.com/bid/19415
Source: secalert@redhat.com
http://www.ubuntu.com/usn/usn-342-1
Source: secalert@redhat.com
http://bugs.php.net/bug.php?id=38322
Source: af854a3a-2127-422b-91ae-364da2661108
Exploit Patch
http://rhn.redhat.com/errata/RHSA-2006-0688.html
Source: af854a3a-2127-422b-91ae-364da2661108
http://rhn.redhat.com/errata/RHSA-2006-0736.html
Source: af854a3a-2127-422b-91ae-364da2661108
http://secunia.com/advisories/21403
Source: af854a3a-2127-422b-91ae-364da2661108
http://secunia.com/advisories/21467
Source: af854a3a-2127-422b-91ae-364da2661108
http://secunia.com/advisories/21546
Source: af854a3a-2127-422b-91ae-364da2661108
http://secunia.com/advisories/21608
Source: af854a3a-2127-422b-91ae-364da2661108
http://secunia.com/advisories/21683
Source: af854a3a-2127-422b-91ae-364da2661108
http://secunia.com/advisories/21768
Source: af854a3a-2127-422b-91ae-364da2661108
http://secunia.com/advisories/21847
Source: af854a3a-2127-422b-91ae-364da2661108
http://secunia.com/advisories/22004
Source: af854a3a-2127-422b-91ae-364da2661108
http://secunia.com/advisories/22039
Source: af854a3a-2127-422b-91ae-364da2661108
http://secunia.com/advisories/22069
Source: af854a3a-2127-422b-91ae-364da2661108
http://secunia.com/advisories/22440
Source: af854a3a-2127-422b-91ae-364da2661108
http://secunia.com/advisories/22487
Source: af854a3a-2127-422b-91ae-364da2661108
http://secunia.com/advisories/22538
Source: af854a3a-2127-422b-91ae-364da2661108
http://secunia.com/advisories/23247
Source: af854a3a-2127-422b-91ae-364da2661108
http://security.gentoo.org/glsa/glsa-200608-28.xml
Source: af854a3a-2127-422b-91ae-364da2661108
http://securityreason.com/securityalert/1341
Source: af854a3a-2127-422b-91ae-364da2661108
http://securitytracker.com/id?1016984
Source: af854a3a-2127-422b-91ae-364da2661108
http://support.avaya.com/elmodocs2/security/ASA-2006-221.htm
Source: af854a3a-2127-422b-91ae-364da2661108
http://support.avaya.com/elmodocs2/security/ASA-2006-222.htm
Source: af854a3a-2127-422b-91ae-364da2661108
http://support.avaya.com/elmodocs2/security/ASA-2006-223.htm
Source: af854a3a-2127-422b-91ae-364da2661108
http://www.mandriva.com/security/advisories?name=MDKSA-2006:144
Source: af854a3a-2127-422b-91ae-364da2661108
http://www.novell.com/linux/security/advisories/2006_19_sr.html
Source: af854a3a-2127-422b-91ae-364da2661108
http://www.novell.com/linux/security/advisories/2006_20_sr.html
Source: af854a3a-2127-422b-91ae-364da2661108
http://www.novell.com/linux/security/advisories/2006_22_sr.html
Source: af854a3a-2127-422b-91ae-364da2661108
http://www.novell.com/linux/security/advisories/2006_52_php.html
Source: af854a3a-2127-422b-91ae-364da2661108
http://www.php.net/ChangeLog-5.php#5.1.5
Source: af854a3a-2127-422b-91ae-364da2661108
http://www.php.net/release_5_1_5.php
Source: af854a3a-2127-422b-91ae-364da2661108
http://www.plain-text.info/sscanf_bug.txt
Source: af854a3a-2127-422b-91ae-364da2661108
Exploit URL Repurposed
http://www.redhat.com/support/errata/RHSA-2006-0669.html
Source: af854a3a-2127-422b-91ae-364da2661108
http://www.redhat.com/support/errata/RHSA-2006-0682.html
Source: af854a3a-2127-422b-91ae-364da2661108
http://www.securityfocus.com/archive/1/442438/30/0/threaded
Source: af854a3a-2127-422b-91ae-364da2661108
Exploit Patch Vendor Advisory
http://www.securityfocus.com/bid/19415
Source: af854a3a-2127-422b-91ae-364da2661108
http://www.ubuntu.com/usn/usn-342-1
Source: af854a3a-2127-422b-91ae-364da2661108
http://www.vupen.com/english/advisories/2006/3193
Source: af854a3a-2127-422b-91ae-364da2661108

78 reference(s) from NVD

Quick Stats

CVSS v3 Score
N/A / 10.0
EPSS (Exploit Probability)
5.9%
91th percentile
Exploitation Status
Not in CISA KEV

Affected Vendors

php