What’s Vulnerable › Vulnerabilities
CVE-2010-1128
- Severity: medium (CVSS 6.4 v2.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 8.1% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2010-03-26 · updated 2026-06-16
- Weakness: CWE-310
Description
The Linear Congruential Generator (LCG) in PHP before 5.2.13 does not provide the expected entropy, which makes it easier for context-dependent attackers to guess values that were intended to be unpredictable, as demonstrated by session cookies generated by using the uniqid function.
Affected products
- PHP: through 5.2.12; 5.2.0, 5.2.1, 5.2.2, 5.2.3, 5.2.4, 5.2.5 (+6)
References
- http://secunia.com/advisories/38708
- http://secunia.com/advisories/42410
- http://www.php.net/ChangeLog-5.php
- http://www.php.net/releases/5_2_13.php
- http://www.redhat.com/support/errata/RHSA-2010-0919.html
- http://www.securityfocus.com/bid/38430
- http://www.vupen.com/english/advisories/2010/0479
- http://www.vupen.com/english/advisories/2010/3081
- http://secunia.com/advisories/38708
- http://secunia.com/advisories/42410
- http://www.php.net/ChangeLog-5.php
- http://www.php.net/releases/5_2_13.php
Get alerted when CVE-2010-1128 or the next vulnerability affects your stack