PHP 32 bit weak random seed
Published May 7, 2008
7.5
HIGHCVSS 2.0
EPSS 3.39%
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.
Affected products
No data.
- ≤ 4.4.7
- 5
- 5.0.0
- 5.0.0
- 5.0.0
- 5.0.0
- 5.0.0
- 5.0.0
- 5.0.1
- 5.0.2
- 5.0.3
- 5.0.4
- 5.0.5
- 5.1.0
- 5.1.1
- 5.1.2
- 5.1.3
- 5.1.4
- 5.1.5
- 5.1.6
- 5.2.0
- 5.2.1
- 5.2.2
- 5.2.3
- 5.2.4
No data.
Red Hat Enterprise Linux 2.1
php-0:4.1.2-2.20
Fixed · RHSA-2008:0546
Red Hat Enterprise Linux 3
php-0:4.3.2-48.ent
Fixed · RHSA-2008:0544
Red Hat Enterprise Linux 4
php-0:4.3.9-3.22.12
Fixed · RHSA-2008:0545
Red Hat Enterprise Linux 5
php-0:5.1.6-20.el5_2.1
Fixed · RHSA-2008:0544
Red Hat Web Application Stack for RHEL 4
php-0:5.1.6-3.el4s1.10
Fixed · RHSA-2008:0582
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 2.1 | php-0:4.1.2-2.20 | Fixed | RHSA-2008:0546 |
| Red Hat Enterprise Linux 3 | php-0:4.3.2-48.ent | Fixed | RHSA-2008:0544 |
| Red Hat Enterprise Linux 4 | php-0:4.3.9-3.22.12 | Fixed | RHSA-2008:0545 |
| Red Hat Enterprise Linux 5 | php-0:5.1.6-20.el5_2.1 | Fixed | RHSA-2008:0544 |
| Red Hat Web Application Stack for RHEL 4 | php-0:5.1.6-3.el4s1.10 | Fixed | RHSA-2008:0582 |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
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:P
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 (11 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 2, 2026 | 3.39% (0.03392) | 88.43th | v5 (v2026.06.15) |
| Jun 15, 2026 | 3.39% (0.03392) | 87.22th | v5 (v2026.06.15) |
| Mar 30, 2025 | 2.60% (0.02595) | 84.27th | v4 (v2025.03.14) |
| Mar 29, 2025 | 6.52% (0.06520) | 84.78th | v4 (v2025.03.14) |
| Mar 17, 2025 | 2.60% (0.02595) | 84.58th | v4 (v2025.03.14) |
| Dec 12, 2024 | 1.59% (0.01588) | 87.86th | v3 (v2023.03.01) |
| May 13, 2024 | 1.59% (0.01588) | 87.28th | v3 (v2023.03.01) |
| Mar 7, 2023 | 1.90% (0.01897) | 86.63th | v3 (v2023.03.01) |
| Mar 6, 2023 | 2.69% (0.02686) | 82.85th | v2 (v2022.01.01) |
| Apr 1, 2022 | 2.69% (0.02686) | 81.17th | v2 (v2022.01.01) |
| Feb 4, 2022 | 2.69% (0.02686) | 62.66th | v2 (v2022.01.01) |
References (36)
- http://archives.neohapsis.com/archives/fulldisclosure/2008-05/0103.html mailing-listx_refsource_FULLDISCExploit
- http://lists.opensuse.org/opensuse-security-announce/2008-07/msg00001.html vendor-advisoryx_refsource_SUSE
- http://secunia.com/advisories/30757 third-party-advisoryx_refsource_SECUNIA
- http://secunia.com/advisories/30828 third-party-advisoryx_refsource_SECUNIA
- http://secunia.com/advisories/30967 third-party-advisoryx_refsource_SECUNIA
- http://secunia.com/advisories/31119 third-party-advisoryx_refsource_SECUNIA
- http://secunia.com/advisories/31124 third-party-advisoryx_refsource_SECUNIA
- http://secunia.com/advisories/31200 third-party-advisoryx_refsource_SECUNIA
- http://secunia.com/advisories/32746 third-party-advisoryx_refsource_SECUNIA
- http://secunia.com/advisories/35003 third-party-advisoryx_refsource_SECUNIA
- http://security.gentoo.org/glsa/glsa-200811-05.xml vendor-advisoryx_refsource_GENTOO
- http://securityreason.com/securityalert/3859 third-party-advisoryx_refsource_SREASON
- http://www.debian.org/security/2009/dsa-1789 vendor-advisoryx_refsource_DEBIAN
- http://www.mandriva.com/security/advisories?name=MDVSA-2008:125 vendor-advisoryx_refsource_MANDRIVA
- http://www.mandriva.com/security/advisories?name=MDVSA-2008:126 vendor-advisoryx_refsource_MANDRIVA
- http://www.mandriva.com/security/advisories?name=MDVSA-2008:127 vendor-advisoryx_refsource_MANDRIVA
- http://www.mandriva.com/security/advisories?name=MDVSA-2008:128 vendor-advisoryx_refsource_MANDRIVA
- http://www.mandriva.com/security/advisories?name=MDVSA-2008:129 vendor-advisoryx_refsource_MANDRIVA
- http://www.mandriva.com/security/advisories?name=MDVSA-2008:130 vendor-advisoryx_refsource_MANDRIVA
- http://www.redhat.com/support/errata/RHSA-2008-0505.html vendor-advisoryx_refsource_REDHAT
- http://www.redhat.com/support/errata/RHSA-2008-0544.html vendor-advisoryx_refsource_REDHAT
- http://www.redhat.com/support/errata/RHSA-2008-0545.html vendor-advisoryx_refsource_REDHAT
- http://www.redhat.com/support/errata/RHSA-2008-0546.html vendor-advisoryx_refsource_REDHAT
- http://www.redhat.com/support/errata/RHSA-2008-0582.html vendor-advisoryx_refsource_REDHAT
- http://www.securityfocus.com/archive/1/491683/100/0/threaded mailing-listx_refsource_BUGTRAQ
- http://www.sektioneins.de/advisories/SE-2008-02.txt x_refsource_MISCExploit
- http://www.ubuntu.com/usn/usn-628-1 vendor-advisoryx_refsource_UBUNTU
- https://access.redhat.com/security/cve/CVE-2008-2107 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=445684 Issue Tracking
- https://exchange.xforce.ibmcloud.com/vulnerabilities/42226 vdb-entryx_refsource_XF
- https://exchange.xforce.ibmcloud.com/vulnerabilities/42284 vdb-entryx_refsource_XF
- https://nvd.nist.gov/vuln/detail/CVE-2008-2107
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10644 vdb-entrysignaturex_refsource_OVAL
- https://www.cve.org/CVERecord?id=CVE-2008-2107
- https://www.redhat.com/archives/fedora-package-announce/2008-June/msg00773.html vendor-advisoryx_refsource_FEDORA
- https://www.redhat.com/archives/fedora-package-announce/2008-June/msg00779.html vendor-advisoryx_refsource_FEDORA
Change history (0)
No recorded changes yet.