Security mailing lists by PureSourceCode

CVE-2010-1128

MEDIUM 6.4CVSS 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
NVDJSON

Scores

SourceScored byVersionScoreVector / 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

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD php php
cpe:2.3:a:php:php:*:*:*:*:*:*:*:*
<= 5.2.12
NVD php php
cpe:2.3:a:php:php:5.2.0:*:*:*:*:*:*:*
= 5.2.0
NVD php php
cpe:2.3:a:php:php:5.2.1:*:*:*:*:*:*:*
= 5.2.1
NVD php php
cpe:2.3:a:php:php:5.2.2:*:*:*:*:*:*:*
= 5.2.2
NVD php php
cpe:2.3:a:php:php:5.2.3:*:*:*:*:*:*:*
= 5.2.3
NVD php php
cpe:2.3:a:php:php:5.2.4:*:*:*:*:*:*:*
= 5.2.4
NVD php php
cpe:2.3:a:php:php:5.2.5:*:*:*:*:*:*:*
= 5.2.5
NVD php php
cpe:2.3:a:php:php:5.2.6:*:*:*:*:*:*:*
= 5.2.6
NVD php php
cpe:2.3:a:php:php:5.2.7:*:*:*:*:*:*:*
= 5.2.7
NVD php php
cpe:2.3:a:php:php:5.2.8:*:*:*:*:*:*:*
= 5.2.8
NVD php php
cpe:2.3:a:php:php:5.2.9:*:*:*:*:*:*:*
= 5.2.9
NVD php php
cpe:2.3:a:php:php:5.2.10:*:*:*:*:*:*:*
= 5.2.10
NVD php php
cpe: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)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.