Vulnerability database / CVE-2010-1128
CVE-2010-1128
MEDIUM 6.4 CVSS 2.0 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.
Published 26 Mar 2010
Last modified 16 Jun 2026 Assigned by cve@mitre.org NVD status Modified Weakness
CWE-310 Sources
NVD JSON Scores
Source Scored by Version Score Vector / decision
NVD
nvd@nist.gov (Primary)
CVSS 2.0
MEDIUM 6.4
AV:N/AC:L/Au:N/C:P/I:P/A:N
Affected
Source Vendor / ecosystem Product / package Affected versions Fixed in
NVD
php
phpcpe:2.3:a:php:php:*:*:*:*:*:*:*:*
<= 5.2.12
NVD
php
phpcpe:2.3:a:php:php:5.2.0:*:*:*:*:*:*:*
= 5.2.0
NVD
php
phpcpe:2.3:a:php:php:5.2.1:*:*:*:*:*:*:*
= 5.2.1
NVD
php
phpcpe:2.3:a:php:php:5.2.2:*:*:*:*:*:*:*
= 5.2.2
NVD
php
phpcpe:2.3:a:php:php:5.2.3:*:*:*:*:*:*:*
= 5.2.3
NVD
php
phpcpe:2.3:a:php:php:5.2.4:*:*:*:*:*:*:*
= 5.2.4
NVD
php
phpcpe:2.3:a:php:php:5.2.5:*:*:*:*:*:*:*
= 5.2.5
NVD
php
phpcpe:2.3:a:php:php:5.2.6:*:*:*:*:*:*:*
= 5.2.6
NVD
php
phpcpe:2.3:a:php:php:5.2.7:*:*:*:*:*:*:*
= 5.2.7
NVD
php
phpcpe:2.3:a:php:php:5.2.8:*:*:*:*:*:*:*
= 5.2.8
NVD
php
phpcpe:2.3:a:php:php:5.2.9:*:*:*:*:*:*:*
= 5.2.9
NVD
php
phpcpe:2.3:a:php:php:5.2.10:*:*:*:*:*:*:*
= 5.2.10
NVD
php
phpcpe:2.3:a:php:php:5.2.11:*:*:*:*:*:*:*
= 5.2.11
References
History
25 Nov 2026 20:15 UTC · NVD: first stored (published 26 Mar 2010)