security flaw
Published Aug 8, 2006
4.6
MEDIUMCVSS 2.0
EPSS 2.01%
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.
Affected products
No data.
- 4.0
- 4.0
- 4.0
- 4.0
- 4.0
- 4.0
- 4.0
- 4.0
- 4.0.0
- 4.0.1
- 4.0.1
- 4.0.1
- 4.0.2
- 4.0.3
- 4.0.3
- 4.0.4
- 4.0.4
- 4.0.5
- 4.0.6
- 4.0.7
- 4.0.7
- 4.0.7
- 4.0.7
- 4.1.0
- 4.1.1
- 4.1.2
- 4.2
- 4.2.0
- 4.2.1
- 4.2.2
- 4.2.3
- 4.3.0
- 4.3.1
- 4.3.2
- 4.3.3
- 4.3.4
- 4.3.5
- 4.3.6
- 4.3.7
- 4.3.8
- 4.3.9
- 4.3.10
- 4.3.11
- 4.4.0
- 4.4.1
- 4.4.2
- 4.4.3
- 5.0
- 5.0
- 5.0
- 5.0.0
- 5.0.0
- 5.0.0
- 5.0.0
- 5.0.0
- 5.0.0
- 5.0.0
- 5.0.0
- 5.0.1
- 5.0.2
- 5.0.3
- 5.0.4
- 5.0.5
- 5.1.0
- 5.1.1
- 5.1.2
- 5.1.4
No data.
Red Hat Enterprise Linux 3
php-0:4.3.2-36.ent
Fixed · RHSA-2006:0669
Red Hat Enterprise Linux 4
php-0:4.3.9-3.18
Fixed · RHSA-2006:0669
Red Hat Enterprise Linux AS (Advanced Server) version 2.1
n/a
Fixed · RHSA-2006:0682
Red Hat Enterprise Linux ES version 2.1
n/a
Fixed · RHSA-2006:0682
Red Hat Enterprise Linux WS version 2.1
n/a
Fixed · RHSA-2006:0682
Red Hat Linux Advanced Workstation 2.1
n/a
Fixed · RHSA-2006:0682
Red Hat Web Application Stack for RHEL 4
php-0:5.1.4-1.el4s1.4
Fixed · RHSA-2006:0688
Stronghold 4.0 for Red Hat Enterprise Linux AS (version 2.1)
n/a
Fixed · RHSA-2006:0736
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 3 | php-0:4.3.2-36.ent | Fixed | RHSA-2006:0669 |
| Red Hat Enterprise Linux 4 | php-0:4.3.9-3.18 | Fixed | RHSA-2006:0669 |
| Red Hat Enterprise Linux AS (Advanced Server) version 2.1 | n/a | Fixed | RHSA-2006:0682 |
| Red Hat Enterprise Linux ES version 2.1 | n/a | Fixed | RHSA-2006:0682 |
| Red Hat Enterprise Linux WS version 2.1 | n/a | Fixed | RHSA-2006:0682 |
| Red Hat Linux Advanced Workstation 2.1 | n/a | Fixed | RHSA-2006:0682 |
| Red Hat Web Application Stack for RHEL 4 | php-0:5.1.4-1.el4s1.4 | Fixed | RHSA-2006:0688 |
| Stronghold 4.0 for Red Hat Enterprise Linux AS (version 2.1) | n/a | Fixed | RHSA-2006:0736 |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
No CVSS v3.0 score for this CVE.
AV:L/AC:L/Au:N/C:P/I:P/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 2, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (16 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 2, 2026 | 2.01% (0.02011) | 80.17th | v5 (v2026.06.15) |
| Jun 15, 2026 | 1.54% (0.01540) | 71.56th | v5 (v2026.06.15) |
| Dec 28, 2025 | 5.86% (0.05860) | 90.25th | v4 (v2025.03.14) |
| Dec 27, 2025 | 7.90% (0.07900) | 91.77th | v4 (v2025.03.14) |
| Dec 19, 2025 | 5.86% (0.05860) | 90.23th | v4 (v2025.03.14) |
| Oct 28, 2025 | 4.40% (0.04403) | 88.48th | v4 (v2025.03.14) |
| Oct 27, 2025 | 5.98% (0.05977) | 90.28th | v4 (v2025.03.14) |
| Oct 1, 2025 | 4.40% (0.04403) | 88.58th | v4 (v2025.03.14) |
| Jul 30, 2025 | 5.98% (0.05977) | 90.30th | v4 (v2025.03.14) |
| Jul 11, 2025 | 4.40% (0.04403) | 88.52th | v4 (v2025.03.14) |
| Mar 17, 2025 | 3.26% (0.03264) | 86.30th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.18% (0.00183) | 56.88th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.19% (0.00187) | 54.33th | v3 (v2023.03.01) |
| Mar 6, 2023 | 11.30% (0.11299) | 95.02th | v2 (v2022.01.01) |
| Apr 1, 2022 | 11.30% (0.11299) | 94.61th | v2 (v2022.01.01) |
| Feb 4, 2022 | 11.30% (0.11299) | 88.72th | v2 (v2022.01.01) |
No CWE recorded.
References (43)
- ftp://patches.sgi.com/support/free/security/advisories/20061001-01-P.asc vendor-advisoryx_refsource_SGI
- http://bugs.php.net/bug.php?id=38322 x_refsource_CONFIRMExploitPatch
- http://rhn.redhat.com/errata/RHSA-2006-0688.html vendor-advisoryx_refsource_REDHAT
- http://rhn.redhat.com/errata/RHSA-2006-0736.html vendor-advisoryx_refsource_REDHAT
- http://secunia.com/advisories/21403 third-party-advisoryx_refsource_SECUNIA
- http://secunia.com/advisories/21467 third-party-advisoryx_refsource_SECUNIA
- http://secunia.com/advisories/21546 third-party-advisoryx_refsource_SECUNIA
- http://secunia.com/advisories/21608 third-party-advisoryx_refsource_SECUNIA
- http://secunia.com/advisories/21683 third-party-advisoryx_refsource_SECUNIA
- http://secunia.com/advisories/21768 third-party-advisoryx_refsource_SECUNIA
- http://secunia.com/advisories/21847 third-party-advisoryx_refsource_SECUNIA
- http://secunia.com/advisories/22004 third-party-advisoryx_refsource_SECUNIA
- http://secunia.com/advisories/22039 third-party-advisoryx_refsource_SECUNIA
- http://secunia.com/advisories/22069 third-party-advisoryx_refsource_SECUNIA
- http://secunia.com/advisories/22440 third-party-advisoryx_refsource_SECUNIA
- http://secunia.com/advisories/22487 third-party-advisoryx_refsource_SECUNIA
- http://secunia.com/advisories/22538 third-party-advisoryx_refsource_SECUNIA
- http://secunia.com/advisories/23247 third-party-advisoryx_refsource_SECUNIA
- http://security.gentoo.org/glsa/glsa-200608-28.xml vendor-advisoryx_refsource_GENTOO
- http://securityreason.com/securityalert/1341 third-party-advisoryx_refsource_SREASON
- http://securitytracker.com/id?1016984 vdb-entryx_refsource_SECTRACK
- http://support.avaya.com/elmodocs2/security/ASA-2006-221.htm x_refsource_CONFIRM
- http://support.avaya.com/elmodocs2/security/ASA-2006-222.htm x_refsource_CONFIRM
- http://support.avaya.com/elmodocs2/security/ASA-2006-223.htm x_refsource_CONFIRM
- http://www.mandriva.com/security/advisories?name=MDKSA-2006:144 vendor-advisoryx_refsource_MANDRIVA
- http://www.novell.com/linux/security/advisories/2006_19_sr.html vendor-advisoryx_refsource_SUSE
- http://www.novell.com/linux/security/advisories/2006_20_sr.html vendor-advisoryx_refsource_SUSE
- http://www.novell.com/linux/security/advisories/2006_22_sr.html vendor-advisoryx_refsource_SUSE
- http://www.novell.com/linux/security/advisories/2006_52_php.html vendor-advisoryx_refsource_SUSE
- http://www.php.net/ChangeLog-5.php#5.1.5 x_refsource_CONFIRM
- http://www.php.net/release_5_1_5.php x_refsource_CONFIRM
- http://www.plain-text.info/sscanf_bug.txt x_refsource_MISCExploitURL Repurposed
- http://www.redhat.com/support/errata/RHSA-2006-0669.html vendor-advisoryx_refsource_REDHAT
- http://www.redhat.com/support/errata/RHSA-2006-0682.html vendor-advisoryx_refsource_REDHAT
- http://www.securityfocus.com/archive/1/442438/30/0/threaded mailing-listx_refsource_BUGTRAQExploitPatchVendor Advisory
- http://www.securityfocus.com/bid/19415 vdb-entryx_refsource_BID
- http://www.ubuntu.com/usn/usn-342-1 vendor-advisoryx_refsource_UBUNTU
- http://www.vupen.com/english/advisories/2006/3193 vdb-entryx_refsource_VUPEN
- https://access.redhat.com/security/cve/CVE-2006-4020 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1618174 Issue Tracking
- https://nvd.nist.gov/vuln/detail/CVE-2006-4020
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11062 vdb-entrysignaturex_refsource_OVAL
- https://www.cve.org/CVERecord?id=CVE-2006-4020
Change history (0)
No recorded changes yet.