First published: Fri Apr 06 2007(Updated: )
Multiple integer signedness errors in the printf function family in PHP 4 before 4.4.5 and PHP 5 before 5.2.1 on 64 bit machines allow context-dependent attackers to execute arbitrary code via (1) certain negative argument numbers that arise in the php_formatted_print function because of 64 to 32 bit truncation, and bypass a check for the maximum allowable value; and (2) a width and precision of -1, which make it possible for the php_sprintf_appendstring function to place an internal buffer at an arbitrary memory location.
Credit: cve@mitre.org
Affected Software | Affected Version | How to fix |
---|---|---|
PHP PHP | =4.3.9 | |
PHP PHP | =4.0-beta1 | |
PHP PHP | =4.0-beta4 | |
PHP PHP | =4.2.0 | |
PHP PHP | =4.4.4 | |
PHP PHP | =4.1.0 | |
PHP PHP | =4.3.4 | |
PHP PHP | =4.0.4 | |
PHP PHP | =4.3.0 | |
PHP PHP | =4.0.5 | |
PHP PHP | =4.3.6 | |
PHP PHP | =4.0.7-rc2 | |
PHP PHP | =4.3.7 | |
PHP PHP | =4.0.7-rc1 | |
PHP PHP | =4.2.2 | |
PHP PHP | =4.4.2 | |
PHP PHP | =4.0-rc1 | |
PHP PHP | =4.3.2 | |
PHP PHP | =4.3.11 | |
PHP PHP | =4.0.0 | |
PHP PHP | =4.0.3-patch1 | |
PHP PHP | =4.0.7 | |
PHP PHP | =4.0.2 | |
PHP PHP | =4.3.3 | |
PHP PHP | =4.1.1 | |
PHP PHP | =4.4.3 | |
PHP PHP | =4.2.3 | |
PHP PHP | =4.0.1-patch1 | |
PHP PHP | =4.0 | |
PHP PHP | =4.0-beta2 | |
PHP PHP | =4.0.1-patch2 | |
PHP PHP | =4.0.6 | |
PHP PHP | =4.1.2 | |
PHP PHP | =4.0.7-rc3 | |
PHP PHP | =4.0-rc2 | |
PHP PHP | =4.3.1 | |
PHP PHP | =4.0-beta_4_patch1 | |
PHP PHP | =4.4.0 | |
PHP PHP | =4.3.10 | |
PHP PHP | =4.2.1 | |
PHP PHP | =4.0.4-patch1 | |
PHP PHP | =4.0.1 | |
PHP PHP | =4.2 | |
PHP PHP | =4.4.1 | |
PHP PHP | =4.0-beta3 | |
PHP PHP | =4.0.3 | |
PHP PHP | =4.3.8 | |
PHP PHP | =4.3.5 | |
Apple Mac OS X | ||
Apple Mac OS X Server | =10.4.9 | |
Linux Linux kernel | ||
Microsoft Windows Vista | ||
Microsoft Windows XP | ||
PHP PHP | =5.0-rc1 | |
PHP PHP | =5.0-rc2 | |
PHP PHP | =5.0-rc3 | |
PHP PHP | =5.0.0 | |
PHP PHP | =5.0.0-beta1 | |
PHP PHP | =5.0.0-beta2 | |
PHP PHP | =5.0.0-beta3 | |
PHP PHP | =5.0.0-beta4 | |
PHP PHP | =5.0.0-rc1 | |
PHP PHP | =5.0.0-rc2 | |
PHP PHP | =5.0.0-rc3 | |
PHP PHP | =5.0.1 | |
PHP PHP | =5.0.2 | |
PHP PHP | =5.0.3 | |
PHP PHP | =5.0.4 | |
PHP PHP | =5.0.5 | |
PHP PHP | =5.1.0 | |
PHP PHP | =5.1.1 | |
PHP PHP | =5.1.2 | |
PHP PHP | =5.1.3 | |
PHP PHP | =5.1.4 | |
PHP PHP | =5.1.5 | |
PHP PHP | =5.1.6 | |
PHP PHP | =5.2.0 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.