Back to CVE catalog
CVE-2008-2107

GENERATE_SEED macro in PHP before 4.4.8 and 5.2.5 on 32-bit systems can produce a zero seed

Multiple products

At a glance

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.

Source description · CVE List / CNA

System impact

Attack complexityLow
ConfidentialityPartial
IntegrityPartial
AvailabilityPartial

CVSS summary v2.0

7.5High
Published:
Updated:
EPSS:
3.392%
Exploited in attacks:
Not confirmed
Ransomware campaigns:
Not confirmed
Attack vector:
Network

Related CWE

Affected software

Vendor, product and affected version ranges.

Vendor, product and affected versions
Vendor:phpphpAffected versions:
≤ 4.4.7Show full version range for php
55.0.05.0.15.0.25.0.35.0.45.0.55.1.05.1.15.1.25.1.35.1.45.1.55.1.65.2.05.2.15.2.25.2.35.2.4
Vendor:oraclelinuxphp
Environments (1)
  • cpe:/o:oracle:linux:5
Affected versions:
< 0:5.1.6-20.el5_2.1
Vendor:oraclelinuxphp-bcmath
Environments (1)
  • cpe:/o:oracle:linux:5
Affected versions:
< 0:5.1.6-20.el5_2.1
Vendor:oraclelinuxphp-cli
Environments (1)
  • cpe:/o:oracle:linux:5
Affected versions:
< 0:5.1.6-20.el5_2.1
Vendor:oraclelinuxphp-common
Environments (1)
  • cpe:/o:oracle:linux:5
Affected versions:
< 0:5.1.6-20.el5_2.1
Vendor:oraclelinuxphp-dba
Environments (1)
  • cpe:/o:oracle:linux:5
Affected versions:
< 0:5.1.6-20.el5_2.1
Vendor:oraclelinuxphp-devel
Environments (1)
  • cpe:/o:oracle:linux:5
Affected versions:
< 0:5.1.6-20.el5_2.1
Vendor:oraclelinuxphp-gd
Environments (1)
  • cpe:/o:oracle:linux:5
Affected versions:
< 0:5.1.6-20.el5_2.1
Vendor:oraclelinuxphp-imap
Environments (1)
  • cpe:/o:oracle:linux:5
Affected versions:
< 0:5.1.6-20.el5_2.1
Vendor:oraclelinuxphp-ldap
Environments (1)
  • cpe:/o:oracle:linux:5
Affected versions:
< 0:5.1.6-20.el5_2.1

1–10 of 39 · Page 1 of 4

CVSS scores and metrics3
[email protected] · NVD (Primary)Primary7.5 / 10HighCVSS 2.0Details
Attack complexity
Low
Confidentiality
Partial
Integrity
Partial
Availability
Partial
Attack vector
Network
Authentication
Not required

Source vector

AV:N/AC:L/Au:N/C:P/I:P/A:P
nvd · Wazuh CTI (cna)7.5 / 10HighCVSS 2.0Details
Attack complexity
Low
Confidentiality
Partial
Integrity
Partial
Availability
Partial
Attack vector
Network
Authentication
Not required

Source vector

AV:N/AC:L/Au:N/C:P/I:P/A:P
oraclelinux · Wazuh CTI (adp)7.5 / 10HighCVSS 2.0Details
Attack complexity
Low
Confidentiality
Partial
Integrity
Partial
Availability
Partial
Attack vector
Network
Authentication
Not required

Source vector

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

CVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.

Sources and advisories39

This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences