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.
Metrics
CVSS 2.0 6.4/10
AV:N/AC:L/Au:N/C:P/I:P/A:NWeakness enumeration
Affected software
No affected versions have been published.
Timeline
- Published
- Mar 26, 2010
- Last modified
- Jun 16, 2026
- NVD status
- Modified