CVE-2007-1884: Medium severity PHP PHP vulnerability
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 phpformattedprint 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 phpsprintfappendstring function to place an internal buffer at an arbitrary memory location.
Affected Software
Remediation
Patch Available
Event History
Frequently Asked Questions
What is the severity of CVE-2007-1884?
CVE-2007-1884 has a high severity rating due to the potential for arbitrary code execution on vulnerable PHP versions.
How do I fix CVE-2007-1884?
To fix CVE-2007-1884, upgrade PHP to version 4.4.5 or later or to version 5.2.1 or later.
Which PHP versions are affected by CVE-2007-1884?
CVE-2007-1884 affects PHP versions 4 before 4.4.5 and PHP 5 before 5.2.1.
What types of attacks are possible with CVE-2007-1884?
CVE-2007-1884 allows attackers to execute arbitrary code due to integer signedness errors in the printf function family.
On which platforms does CVE-2007-1884 pose a risk?
CVE-2007-1884 poses a risk primarily on 64-bit machines running vulnerable versions of PHP.