php: LCG entropy weakness
Published Mar 26, 2010
6.4
MEDIUMCVSS 2.0
EPSS 8.09%
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.
Affected products
No data.
- ≤ 5.2.12
- 5.2.0
- 5.2.1
- 5.2.2
- 5.2.3
- 5.2.4
- 5.2.5
- 5.2.6
- 5.2.7
- 5.2.8
- 5.2.9
- 5.2.10
- 5.2.11
No data.
Red Hat Enterprise Linux 4
php-0:4.3.9-3.31
Fixed · RHSA-2010:0919
Red Hat Enterprise Linux 5
php-0:5.1.6-27.el5_5.3
Fixed · RHSA-2010:0919
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 4 | php-0:4.3.9-3.31 | Fixed | RHSA-2010:0919 |
| Red Hat Enterprise Linux 5 | php-0:5.1.6-27.el5_5.3 | Fixed | RHSA-2010:0919 |
No package ranges for this CVE.
Remediation
Red Hat statement
This issue is not planned to be fixed in Red Hat Enterprise Linux 3 due to this product being in Production 3 of its maintenance life-cycle, where only qualified security errata of important and critical impact are addressed. For further information about the Errata Support Policy, visit: http://www.redhat.com/security/updates/errata
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
No CVSS v3.0 score for this CVE.
AV:N/AC:L/Au:N/C:P/I:P/A:N
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 2, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (17 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 2, 2026 | 8.09% (0.08088) | 94.65th | v5 (v2026.06.15) |
| Jun 15, 2026 | 7.87% (0.07873) | 93.93th | v5 (v2026.06.15) |
| Dec 28, 2025 | 4.79% (0.04795) | 89.13th | v4 (v2025.03.14) |
| Dec 27, 2025 | 8.46% (0.08464) | 92.07th | v4 (v2025.03.14) |
| Oct 28, 2025 | 4.79% (0.04795) | 88.98th | v4 (v2025.03.14) |
| Oct 27, 2025 | 8.46% (0.08464) | 91.97th | v4 (v2025.03.14) |
| Oct 1, 2025 | 4.79% (0.04795) | 89.07th | v4 (v2025.03.14) |
| Jul 30, 2025 | 8.46% (0.08464) | 91.96th | v4 (v2025.03.14) |
| Mar 30, 2025 | 4.79% (0.04795) | 88.47th | v4 (v2025.03.14) |
| Mar 29, 2025 | 10.01% (0.10011) | 88.32th | v4 (v2025.03.14) |
| Mar 17, 2025 | 4.79% (0.04795) | 88.74th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.93% (0.00931) | 83.69th | v3 (v2023.03.01) |
| Feb 12, 2024 | 0.94% (0.00935) | 82.52th | v3 (v2023.03.01) |
| Mar 7, 2023 | 1.07% (0.01068) | 81.94th | v3 (v2023.03.01) |
| Mar 6, 2023 | 7.20% (0.07197) | 92.42th | v2 (v2022.01.01) |
| Apr 1, 2022 | 7.20% (0.07197) | 91.69th | v2 (v2022.01.01) |
| Feb 4, 2022 | 7.20% (0.07197) | 80.47th | v2 (v2022.01.01) |
References (12)
- http://secunia.com/advisories/38708 third-party-advisoryx_refsource_SECUNIAVendor Advisory
- http://secunia.com/advisories/42410 third-party-advisoryx_refsource_SECUNIA
- http://www.php.net/ChangeLog-5.php x_refsource_CONFIRM
- http://www.php.net/releases/5_2_13.php x_refsource_CONFIRMVendor Advisory
- http://www.redhat.com/support/errata/RHSA-2010-0919.html vendor-advisoryx_refsource_REDHAT
- http://www.securityfocus.com/bid/38430 vdb-entryx_refsource_BIDExploit
- http://www.vupen.com/english/advisories/2010/0479 vdb-entryx_refsource_VUPENPatchVendor Advisory
- http://www.vupen.com/english/advisories/2010/3081 vdb-entryx_refsource_VUPEN
- https://access.redhat.com/security/cve/CVE-2010-1128 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=577582 Issue Tracking
- https://nvd.nist.gov/vuln/detail/CVE-2010-1128
- https://www.cve.org/CVERecord?id=CVE-2010-1128
| Link | Providers | Tags |
|---|---|---|
| http://secunia.com/advisories/38708 | third-party-advisoryx_refsource_SECUNIAVendor Advisory | |
| http://secunia.com/advisories/42410 | third-party-advisoryx_refsource_SECUNIA | |
| http://www.php.net/ChangeLog-5.php | x_refsource_CONFIRM | |
| http://www.php.net/releases/5_2_13.php | x_refsource_CONFIRMVendor Advisory | |
| http://www.redhat.com/support/errata/RHSA-2010-0919.html | vendor-advisoryx_refsource_REDHAT | |
| http://www.securityfocus.com/bid/38430 | vdb-entryx_refsource_BIDExploit | |
| http://www.vupen.com/english/advisories/2010/0479 | vdb-entryx_refsource_VUPENPatchVendor Advisory | |
| http://www.vupen.com/english/advisories/2010/3081 | vdb-entryx_refsource_VUPEN | |
| https://access.redhat.com/security/cve/CVE-2010-1128 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=577582 | Issue Tracking | |
| https://nvd.nist.gov/vuln/detail/CVE-2010-1128 | ||
| https://www.cve.org/CVERecord?id=CVE-2010-1128 |
Change history (0)
No recorded changes yet.