CVE-2011-0755: Integer Overflow
Integer overflow in the mtrand function in PHP before 5.3.4 might make it easier for context-dependent attackers to predict the return values by leveraging a script's use of a large max parameter, as demonstrated by a value that exceeds mtgetrandmax.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2011-0755?
CVE-2011-0755 has a moderate severity rating due to the potential for attackers to predict output from the mt_rand function in PHP.
How do I fix CVE-2011-0755?
To fix CVE-2011-0755, upgrade PHP to version 5.3.4 or later, where this vulnerability is patched.
What versions of PHP are affected by CVE-2011-0755?
CVE-2011-0755 affects multiple PHP versions including 3.0.x, 4.0.x, 4.1.x, 4.2.x, 4.3.x, and 5.2.x.
What type of vulnerability is CVE-2011-0755?
CVE-2011-0755 is classified as an integer overflow vulnerability that impacts the mt_rand function in PHP.
Are there any workarounds for CVE-2011-0755 if upgrading is not possible?
If upgrading is not possible, avoid using the mt_rand function with large max parameters that could exploit this integer overflow issue.