{"id":"CVE-2010-1128","published":"2010-03-26T20:00:00Z","modified":"2024-08-07T01:14:06Z","title":"The Linear Congruential Generator (LCG) in PHP before 5.2.13 does not provide the expected entropy, which makes it…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.08088,"percentile":0.94946,"provenance":"source"},"cwes":[],"references":[{"url":"http://www.vupen.com/english/advisories/2010/0479","tags":["vdb-entry","x_refsource_VUPEN"]},{"url":"http://www.php.net/releases/5_2_13.php","tags":["x_refsource_CONFIRM"]},{"url":"http://www.redhat.com/support/errata/RHSA-2010-0919.html","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://www.php.net/ChangeLog-5.php","tags":["x_refsource_CONFIRM"]},{"url":"http://secunia.com/advisories/38708","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.securityfocus.com/bid/38430","tags":["vdb-entry","x_refsource_BID"]},{"url":"http://secunia.com/advisories/42410","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.vupen.com/english/advisories/2010/3081","tags":["vdb-entry","x_refsource_VUPEN"]}],"priority":{"score":24.0,"factors":[{"name":"EPSS percentile","points":18.99},{"name":"Public exploit code","points":5.0}]},"exploitSources":{"exploitdb":{"count":1,"earliest":"2010-02-26"},"first":{"date":"2010-02-26","source":"Exploit-DB","url":"https://www.exploit-db.com/exploits/33677"},"provenance":"source"},"summary":{"text":"The Linear Congruential Generator (LCG) in PHP before 5.2.13 fails to provide the expected entropy, weakening its output. An attacker can guess values meant to be unpredictable, such as session cookies generated using the uniqid function, when able to exploit this context-dependently.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:55:52Z"},"euvd":{"id":"EUVD-2010-1159","exploited":false,"provenance":"source"},"exploits":[{"id":33677,"url":"https://www.exploit-db.com/exploits/33677","title":"PHP 5.3.1 - LCG Entropy Security","date":"2010-02-26","verified":true,"provenance":"source"}]}