Every CVE Search/ Get API key

CVE-2007-3007

PHP 5 before 5.2.3 does not enforce the open_basedir or safe_mode restriction in certain cases,...

5.0 Medium

PHP 5 before 5.2.3 does not enforce the open_basedir or safe_mode restriction in certain cases, which allows context-dependent attackers to determine the existence of arbitrary files by checking if the readfile function returns a string. NOTE: this issue might also involve the realpath function.

Exploit likelihood

2.70%Unchanged since Feb 4, 2022
90%50%10%1%

What each source reports

NVD Score used 5.0

PHP 5 before 5.2.3 does not enforce the open_basedir or safe_mode restriction in certain cases, which allows context-dependent attackers to determine the existence of arbitrary files by checking if the readfile function returns a string. NOTE: this issue might also involve the realpath function.

Record
CVE-2007-3007
CVSS 2.0
5.0 MediumAV:N/AC:L/Au:N/C:P/I:N/A:N
Weakness
CWE-264
Updated
2026-11-02
CVE List No score

PHP 5 before 5.2.3 does not enforce the open_basedir or safe_mode restriction in certain cases, which allows context-dependent attackers to determine the existence of arbitrary files by checking if the readfile function returns a string. NOTE: this issue might also involve the realpath function.

Record
CVE-2007-3007
Updated
2026-11-02
EUVDEUVD-2007-2999 No score

PHP 5 before 5.2.3 does not enforce the open_basedir or safe_mode restriction in certain cases, which allows context-dependent attackers to determine the existence of arbitrary files by checking if the readfile function returns a string. NOTE: this issue might also involve the realpath function.

Record
EUVD-2007-2999
Updated
2026-11-03
GitHub AdvisoriesGHSA-cfr5-cx7m-pm9g No score

PHP 5 before 5.2.3 does not enforce the open_basedir or safe_mode restriction in certain cases,...

PHP 5 before 5.2.3 does not enforce the open_basedir or safe_mode restriction in certain cases, which allows context-dependent attackers to determine the existence of arbitrary files by checking if the readfile function returns a string. NOTE: this issue might also involve the realpath function.

Record
GHSA-cfr5-cx7m-pm9g
Updated
2026-11-02

Affected products

History

History
RecordedChangedSources
aliasesEUVD
aliases, references, titleGitHub Advisories
first indexedCVE List, NVD

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2007-3007 is a medium vulnerability (CVSS 5.0) in Php, published June 4, 2007. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 2.70%, the 86th percentile. No source names a fixed version.

References

Show 9 moreShow less
MoveEnter Open