Back
CVE-2008-2107
The GENERATE_SEED macro in PHP 4.x before 4.4.8 and 5.x before 5.2.5, when running on 32-bit systems, performs a multiplication using…
High7.5EPSS 3.4%
- Published
- Updated
- Reserved
- Assigned by
- mitre
Description
The GENERATE_SEED macro in PHP 4.x before 4.4.8 and 5.x before 5.2.5, when running on 32-bit systems, performs a multiplication using values that can produce a zero seed in rare circumstances, which allows context-dependent attackers to predict subsequent values of the rand and mt_rand functions and possibly bypass protection mechanisms that rely on an unknown initial seed.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 2.0 | High7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
- EPSS (exploitation in 30 days)
- 3.4% · top 11% of all CVEs (3 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.5.
Weakness
Affected products
n/a
- affected n/a
References (32)
- FEDORA-2008-3606 (opens in a new tab)vendor-advisoryx_refsource_FEDORAx_transferred
- 32746 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- 20080506 Advisory SE-2008-02: PHP GENERATE_SEED() Weak Random Number Seed Vulnerability (opens in a new tab)mailing-listx_refsource_FULLDISCx_transferred
- GLSA-200811-05 (opens in a new tab)vendor-advisoryx_refsource_GENTOOx_transferred
- RHSA-2008:0546 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- FEDORA-2008-3864 (opens in a new tab)vendor-advisoryx_refsource_FEDORAx_transferred
- 30828 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- MDVSA-2008:128 (opens in a new tab)vendor-advisoryx_refsource_MANDRIVAx_transferred
- 3859 (opens in a new tab)third-party-advisoryx_refsource_SREASONx_transferred
- RHSA-2008:0582 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- USN-628-1 (opens in a new tab)vendor-advisoryx_refsource_UBUNTUx_transferred
- RHSA-2008:0545 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- php-generateseed-weak-security(42226) (opens in a new tab)vdb-entryx_refsource_XFx_transferred
- 31124 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- 30967 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- 31119 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- MDVSA-2008:129 (opens in a new tab)vendor-advisoryx_refsource_MANDRIVAx_transferred
- 31200 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- 30757 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- RHSA-2008:0544 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- SUSE-SR:2008:014 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
- 35003 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- MDVSA-2008:125 (opens in a new tab)vendor-advisoryx_refsource_MANDRIVAx_transferred
- RHSA-2008:0505 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- MDVSA-2008:130 (opens in a new tab)vendor-advisoryx_refsource_MANDRIVAx_transferred
- MDVSA-2008:126 (opens in a new tab)vendor-advisoryx_refsource_MANDRIVAx_transferred
- 20080506 Advisory SE-2008-02: PHP GENERATE_SEED() Weak Random Number Seed Vulnerability (opens in a new tab)mailing-listx_refsource_BUGTRAQx_transferred
- php-generateseed-security-bypass(42284) (opens in a new tab)vdb-entryx_refsource_XFx_transferred
- MDVSA-2008:127 (opens in a new tab)vendor-advisoryx_refsource_MANDRIVAx_transferred
- http://www.sektioneins.de/advisories/SE-2008-02.txt (opens in a new tab)x_refsource_MISCx_transferred
- oval:org.mitre.oval:def:10644 (opens in a new tab)vdb-entrysignaturex_refsource_OVALx_transferred
- DSA-1789 (opens in a new tab)vendor-advisoryx_refsource_DEBIANx_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-2008-2107)Record last updated .