CVE-2006-4020
mediumpriority · track · 29EPSS 0.020 · 81 %ileexploit · functionalEUUSEPSS · scored 2026-10-27
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.
remediations
Vendor fix, mitigation, or workaround guidance, as published by each source.
A vendor fix is available.
- FixedRed Hat Enterprise Linux AS (Advanced Server) version 2.1 redhat_csaf
Before applying this update, make sure all previously released errata relevant to your system have been applied. This update is available via Red Hat Network. To use Red Hat Network, launch the Red Hat Update Agent with the following command: up2date This will start an interactive process that will result in the appropriate RPMs being upgraded on your system.
https://access.redhat.com/errata/RHSA-2006:0682 - FixedRed Hat Enterprise Linux ES version 2.1redhat_csaf
Before applying this update, make sure all previously released errata relevant to your system have been applied. This update is available via Red Hat Network. To use Red Hat Network, launch the Red Hat Update Agent with the following command: up2date This will start an interactive process that will result in the appropriate RPMs being upgraded on your system.
https://access.redhat.com/errata/RHSA-2006:0682 - FixedRed Hat Enterprise Linux WS version 2.1redhat_csaf
Before applying this update, make sure all previously released errata relevant to your system have been applied. This update is available via Red Hat Network. To use Red Hat Network, launch the Red Hat Update Agent with the following command: up2date This will start an interactive process that will result in the appropriate RPMs being upgraded on your system.
https://access.redhat.com/errata/RHSA-2006:0682 - FixedRed Hat Linux Advanced Workstation 2.1redhat_csaf
Before applying this update, make sure all previously released errata relevant to your system have been applied. This update is available via Red Hat Network. To use Red Hat Network, launch the Red Hat Update Agent with the following command: up2date This will start an interactive process that will result in the appropriate RPMs being upgraded on your system.
https://access.redhat.com/errata/RHSA-2006:0682
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
weaknesses
The CWE weakness classes this flaw belongs to.
exploits (1)
Public proof-of-concept and weaponised exploit code.
- EDB-2193PHP 4.4.3/5.1.4 - 'sscanf' Local Buffer Overflowfunctional · exploit_db
affected products (49)
Products and version ranges known to be affected.
advisories (1)
Vendor and ecosystem advisories describing this.
- RHSA-2006:0682Red Hat Security Advisory: php security update2006-09-21csaf · redhat_csafUS
Updated PHP packages that fix multiple security issues are now available for Red Hat Enterprise Linux 2.1. This update has been rated as having moderate security impact by the Red Hat Security Response Team.
also known as (2)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (76)
External citations — patches, advisories, analysis.
- http://bugs.php.net/bug.php?id=38322enisa_euvd
- http://rhn.redhat.com/errata/RHSA-2006-0688.htmlenisa_euvd
- http://rhn.redhat.com/errata/RHSA-2006-0736.htmlenisa_euvd
- http://secunia.com/advisories/21403enisa_euvd
- http://secunia.com/advisories/21467enisa_euvd
- http://secunia.com/advisories/21546enisa_euvd
- http://secunia.com/advisories/21608enisa_euvd
- http://secunia.com/advisories/21683enisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan