CVE-2008-2107

Summary

CVECVE-2008-2107
StatePUBLISHED
Assignermitre
Source PriorityCVE Program / NVD first with legacy fallback
Published2008-05-07 21:20:00 UTC
Updated2026-04-23 00:35:47 UTC
DescriptionThe 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.

Risk And Classification

Primary CVSS: v2.0 7.5 from [email protected]

AV:N/AC:L/Au:N/C:P/I:P/A:P

Problem Types: CWE-189 | n/a

CVSS v2.0 Breakdown

Access Vector
Network
Access Complexity
Low
Authentication
None
Confidentiality
Partial
Integrity
Partial
Availability
Partial

AV:N/AC:L/Au:N/C:P/I:P/A:P

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Php Php 5 All All All
Application Php Php 5.0.0 beta1 All All
Application Php Php 5.0.0 beta2 All All
Application Php Php 5.0.0 beta3 All All
Application Php Php 5.0.0 rc1 All All
Application Php Php 5.0.0 rc2 All All
Application Php Php 5.0.0 rc3 All All
Application Php Php 5.0.1 All All All
Application Php Php 5.0.2 All All All
Application Php Php 5.0.3 All All All
Application Php Php 5.0.4 All All All
Application Php Php 5.0.5 All All All
Application Php Php 5.1.0 All All All
Application Php Php 5.1.1 All All All
Application Php Php 5.1.2 All All All
Application Php Php 5.1.3 All All All
Application Php Php 5.1.4 All All All
Application Php Php 5.1.5 All All All
Application Php Php 5.1.6 All All All
Application Php Php 5.2.0 All All All
Application Php Php 5.2.1 All All All
Application Php Php 5.2.2 All All All
Application Php Php 5.2.3 All All All
Application Php Php 5.2.4 All All All
Application Php Php All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Na N/a affected n/a Not specified

References

ReferenceSourceLinkTags
IBM X-Force Exchange af854a3a-2127-422b-91ae-364da2661108 exchange.xforce.ibmcloud.com
Red Hat update for php - Secunia Advisories - Vulnerability Intelligence - Secunia.com af854a3a-2127-422b-91ae-364da2661108 secunia.com
Red Hat update for php - Secunia Advisories - Vulnerability Intelligence - Secunia.com af854a3a-2127-422b-91ae-364da2661108 secunia.com
Fedora update for php - Secunia Advisories - Vulnerability Intelligence - Secunia.com af854a3a-2127-422b-91ae-364da2661108 secunia.com
Support / Security / Advisories / / MDVSA-2008:128 | Mandriva af854a3a-2127-422b-91ae-364da2661108 www.mandriva.com
SecurityFocus af854a3a-2127-422b-91ae-364da2661108 www.securityfocus.com
rhn.redhat.com | Red Hat Support af854a3a-2127-422b-91ae-364da2661108 www.redhat.com
archives.neohapsis.com/archives/fulldisclosure/2008-05/0103.html af854a3a-2127-422b-91ae-364da2661108 archives.neohapsis.com Exploit
rhn.redhat.com | Red Hat Support af854a3a-2127-422b-91ae-364da2661108 www.redhat.com
Fedora update for php - Secunia Advisories - Vulnerability Intelligence - Secunia.com af854a3a-2127-422b-91ae-364da2661108 secunia.com
Advisories | Mandriva af854a3a-2127-422b-91ae-364da2661108 www.mandriva.com
Repository / Oval Repository af854a3a-2127-422b-91ae-364da2661108 oval.cisecurity.org
404 Not Found af854a3a-2127-422b-91ae-364da2661108 www.sektioneins.de Exploit
About Secunia Research | Flexera af854a3a-2127-422b-91ae-364da2661108 secunia.com
[SECURITY] Fedora 8 Update: php-5.2.6-2.fc8 af854a3a-2127-422b-91ae-364da2661108 www.redhat.com
SUSE Update for Multiple Packages - Secunia Advisories - Vulnerability Intelligence - Secunia.com af854a3a-2127-422b-91ae-364da2661108 secunia.com
Support / Security / Advisories / / MDVSA-2008:130 | Mandriva af854a3a-2127-422b-91ae-364da2661108 www.mandriva.com
Advisories | Mandriva af854a3a-2127-422b-91ae-364da2661108 www.mandriva.com
PHP: Multiple vulnerabilities — Gentoo Linux Documentation af854a3a-2127-422b-91ae-364da2661108 security.gentoo.org
IBM X-Force Exchange af854a3a-2127-422b-91ae-364da2661108 exchange.xforce.ibmcloud.com
SecurityReason - PHP GENERATE_SEED() Weak Random Number Seed Vulnerability af854a3a-2127-422b-91ae-364da2661108 securityreason.com
[SECURITY] Fedora 9 Update: php-5.2.6-2.fc9 af854a3a-2127-422b-91ae-364da2661108 www.redhat.com
Gentoo update for php - Secunia Advisories - Vulnerability Information - Secunia.com af854a3a-2127-422b-91ae-364da2661108 secunia.com
USN-628-1: PHP vulnerabilities | Ubuntu af854a3a-2127-422b-91ae-364da2661108 www.ubuntu.com
rhn.redhat.com | Red Hat Support af854a3a-2127-422b-91ae-364da2661108 www.redhat.com
Debian update for php5 - Secunia Advisories - Vulnerability Information - Secunia.com af854a3a-2127-422b-91ae-364da2661108 secunia.com
rhn.redhat.com | Red Hat Support af854a3a-2127-422b-91ae-364da2661108 www.redhat.com
Debian -- Security Information -- DSA-1789-1 php5 af854a3a-2127-422b-91ae-364da2661108 www.debian.org
[security-announce] SUSE Security Summary Report SUSE-SR:2008:014 af854a3a-2127-422b-91ae-364da2661108 lists.opensuse.org
Support / Security / Advisories / / MDVSA-2008:129 | Mandriva af854a3a-2127-422b-91ae-364da2661108 www.mandriva.com
rhn.redhat.com | Red Hat Support af854a3a-2127-422b-91ae-364da2661108 www.redhat.com
Advisories | Mandriva af854a3a-2127-422b-91ae-364da2661108 www.mandriva.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report