Skip to content
CVE Tracker
  • Newest CVEsPage
  • Recently added to KEVPage
  • Rising exploitation (EPSS)Page
  • Weekly digestPage
  • StatisticsPage
  • WatchlistPage
  • API documentationPage
  • Data sourcesPage
  • ChangelogPage
  • AboutPage
  • How it's builtPage
Back

CVE-2008-5624

PHP 5 before 5.2.7 does not properly initialize the page_uid and page_gid global variables for use by the SAPI php_getuid function, which…

High7.5EPSS 2.2%
Published
Updated
Reserved
Assigned by
mitre

Description

PHP 5 before 5.2.7 does not properly initialize the page_uid and page_gid global variables for use by the SAPI php_getuid function, which allows context-dependent attackers to bypass safe_mode restrictions via variable settings that are intended to be restricted to root, as demonstrated by a setting of /etc for the error_log variable.

Scores

CVSS scores of CVE-2008-5624, by who scored it
Scored byCVSSScoreVector
NVDNVD · Modified2.0High7.5AV:N/AC:L/Au:N/C:P/I:P/A:P
EPSS (exploitation in 30 days)
2.2% · top 17% of all CVEs (4 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 (15)

Sources

The same CVE in the primary databases and aggregators, to check against.

Badge for a README or a ticket

CVE-2008-5624 badge
[![CVE-2008-5624](https://trackcve.app/badge/CVE-2008-5624.svg)](https://trackcve.app/cve/CVE-2008-5624)

Record last updated .