CVE Vulnerabilities

CVE-2010-1128

Published: Mar 26, 2010 | Modified: Apr 11, 2025
CVSS 3.x
N/A
Source:
NVD
CVSS 2.x
6.4 MEDIUM
AV:N/AC:L/Au:N/C:P/I:P/A:N
RedHat/V2
2.6 LOW
AV:N/AC:H/Au:N/C:P/I:N/A:N
RedHat/V3
Ubuntu
LOW
root.io logo minimus.io logo echo.ai logo

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 Software

NameVendorStart VersionEnd Version
PhpPhp*5.2.12 (including)
PhpPhp5.2.0 (including)5.2.0 (including)
PhpPhp5.2.1 (including)5.2.1 (including)
PhpPhp5.2.2 (including)5.2.2 (including)
PhpPhp5.2.3 (including)5.2.3 (including)
PhpPhp5.2.4 (including)5.2.4 (including)
PhpPhp5.2.5 (including)5.2.5 (including)
PhpPhp5.2.6 (including)5.2.6 (including)
PhpPhp5.2.7 (including)5.2.7 (including)
PhpPhp5.2.8 (including)5.2.8 (including)
PhpPhp5.2.9 (including)5.2.9 (including)
PhpPhp5.2.10 (including)5.2.10 (including)
PhpPhp5.2.11 (including)5.2.11 (including)
Red Hat Enterprise Linux 4RedHatphp-0:4.3.9-3.31*
Red Hat Enterprise Linux 5RedHatphp-0:5.1.6-27.el5_5.3*
Php5Ubuntudapper*
Php5Ubuntuhardy*
Php5Ubuntuintrepid*
Php5Ubuntujaunty*
Php5Ubuntukarmic*
Php5Ubuntuupstream*

References