CVE-2007-1884

UnknownEPSS 3.14%

Last modified

CVE-2007-1884 is a vulnerability of currently unknown severity. 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.. EPSS estimates a 3.14% chance of exploitation in the next 30 days.

Description

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.

Metrics

EPSS Probability
3.14%

86.3th percentile

Probability of exploitation in the next 30 days. Learn more

Affected Software

VendorProductVersionsUpdate
PhpPhp4.0
PhpPhp4.0.0
PhpPhp4.0.1
PhpPhp4.0.2
PhpPhp4.0.3
PhpPhp4.0.4
PhpPhp4.0.5
PhpPhp4.0.6
PhpPhp4.0.7
PhpPhp4.1.0
PhpPhp4.1.1
PhpPhp4.1.2
PhpPhp4.2
PhpPhp4.2.0
PhpPhp4.2.1
PhpPhp4.2.2
PhpPhp4.2.3
PhpPhp4.3.0
PhpPhp4.3.1
PhpPhp4.3.2
PhpPhp4.3.3
PhpPhp4.3.4
PhpPhp4.3.5
PhpPhp4.3.6
PhpPhp4.3.7
PhpPhp4.3.8
PhpPhp4.3.9
PhpPhp4.3.10
PhpPhp4.3.11
PhpPhp4.4.0
PhpPhp4.4.1
PhpPhp4.4.2
PhpPhp4.4.3
PhpPhp4.4.4
PhpPhp5.0Rc1
PhpPhp5.0.0
PhpPhp5.0.1
PhpPhp5.0.2
PhpPhp5.0.3
PhpPhp5.0.4
PhpPhp5.0.5
PhpPhp5.1.0
PhpPhp5.1.1
PhpPhp5.1.2
PhpPhp5.1.3
PhpPhp5.1.4
PhpPhp5.1.5
PhpPhp5.1.6
PhpPhp5.2.0

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is CVE-2007-1884?
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.
How severe is CVE-2007-1884?
Severity scoring for CVE-2007-1884 is pending analysis. The EPSS model estimates a 3.14% probability of exploitation in the next 30 days.
How do I fix CVE-2007-1884?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2007-1884?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST