CVE-2010-1128 json
The Linear Congruential Generator (LCG) in PHP before 5.2.13 does not provide the expected entropy, which makes it easier for context-depen…
published 16y ago modified 4mo ago also EUVD-2010-1159
- cvss
- 6.4
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 8.1%
- EPSS 8.1% chance of exploitation in 30 days, percentile 94%
- public exploits
- 1
- Exploit-DB
Summary
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.
Patch / fix
- php RHEL 4 4.3.9-3.31
- php RHEL 5 5.1.6-27.el5_5.3
- php-gd RHEL 4 4.3.9-3.31
- php-gd RHEL 5 5.1.6-27.el5_5.3
- php-cli RHEL 5 5.1.6-27.el5_5.3
- php-dba RHEL 5 5.1.6-27.el5_5.3
- php-pdo RHEL 5 5.1.6-27.el5_5.3
- php-xml RHEL 5 5.1.6-27.el5_5.3
red hat advisories RHSA-2010:0919
Is CVE-2010-1128 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2010-1128 updated cvss 2.6
php: LCG entropy weakness
-
Red Hat Enterprise Linux (v. 5 server) php 5.1.6-27.el5_5.3, php-gd 5.1.6-27.el5_5.3, php-cli 5.1.6-27.el5_5.3, php-dba 5.1.6-27.el5_5.3, php-pdo 5.1.6-27.el5_5.3, php-xml 5.1.6-27.el5_5.3, +12 more Red Hat Enterprise Linux AS version 4 php 4.3.9-3.31, php-gd 4.3.9-3.31, php-imap 4.3.9-3.31, php-ldap 4.3.9-3.31, php-odbc 4.3.9-3.31, php-pear 4.3.9-3.31, +7 more Red Hat Enterprise Linux Desktop version 4 php 4.3.9-3.31, php-gd 4.3.9-3.31, php-imap 4.3.9-3.31, php-ldap 4.3.9-3.31, php-odbc 4.3.9-3.31, php-pear 4.3.9-3.31, +7 more Red Hat Enterprise Linux Desktop Workstation (v. 5 client) php 5.1.6-27.el5_5.3, php-gd 5.1.6-27.el5_5.3, php-cli 5.1.6-27.el5_5.3, php-dba 5.1.6-27.el5_5.3, php-pdo 5.1.6-27.el5_5.3, php-xml 5.1.6-27.el5_5.3, +12 more Red Hat Enterprise Linux ES version 4 php 4.3.9-3.31, php-gd 4.3.9-3.31, php-imap 4.3.9-3.31, php-ldap 4.3.9-3.31, php-odbc 4.3.9-3.31, php-pear 4.3.9-3.31, +7 more Red Hat Enterprise Linux WS version 4 php 4.3.9-3.31, php-gd 4.3.9-3.31, php-imap 4.3.9-3.31, php-ldap 4.3.9-3.31, php-odbc 4.3.9-3.31, php-pear 4.3.9-3.31, +7 morefixed: vendor fix RHSA-2010:0919
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Timeline
- First public exploit (EDB-33677)
- Published
Exploit prediction
8.09% chance of exploitation in the next 30 days, higher than 94% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- EDB-33677 PHP 5.3.1 - LCG Entropy Security dos, 2010-02-26
- securityfocus.com http://www.securityfocus.com/bid/38430 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 6.4 | AV:N/AC:L/Au:N/C:P/I:P/A:N |
Classification
- Weakness
-
- CWE-310 Cryptographic Issues
- Technology feeds
References
-
vupen.com
/english/advisories/2010/0479
vdb-entry, patch, vendor-advisory
-
securityfocus.com
/bid/38430
vdb-entry, exploit
-
redhat.com
/support/errata/RHSA-2010-0919.html
vendor-advisory
-
php.net
/releases/5_2_13.php
vendor-advisory
-
secunia.com
/advisories/38708
third-party-advisory, vendor-advisory
- php.net /ChangeLog-5.php
-
secunia.com
/advisories/42410
third-party-advisory
-
vupen.com
/english/advisories/2010/3081
vdb-entry
Sources
- CVE List CVE-2010-1128
- NVD CVE-2010-1128
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.