Back
CVE-2010-1128
The Linear Congruential Generator (LCG) in PHP before 5.2.13 does not provide the expected entropy, which makes it easier for…
Medium6.4EPSS 8.1%
- Published
- Updated
- Reserved
- Assigned by
- mitre
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 2.0 | Medium6.4 | AV:N/AC:L/Au:N/C:P/I:P/A:N |
- EPSS (exploitation in 30 days)
- 8.1% · top 5.2% of all CVEs (5 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 6.4.
Weakness
Affected products
n/a
- affected n/a
References (8)
- ADV-2010-0479 (opens in a new tab)vdb-entryx_refsource_VUPENx_transferred
- http://www.php.net/releases/5_2_13.php (opens in a new tab)x_refsource_CONFIRMx_transferred
- RHSA-2010:0919 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- http://www.php.net/ChangeLog-5.php (opens in a new tab)x_refsource_CONFIRMx_transferred
- 38708 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- 38430 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
- 42410 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- ADV-2010-3081 (opens in a new tab)vdb-entryx_refsource_VUPENx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2010-1128)Record last updated .