CVE-2007-3007
MEDIUM · CVSS 5.0EPSS 2.7%EU EUVD
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.
Key facts
- CVSS score
- 5.0 (v2.0)
- Severity
- MEDIUM
- CVSS vector
AV:N/AC:L/Au:N/C:P/I:N/A:N- Weakness (CWE)
- CWE-264
- EPSS score
- 2.7% (86th percentile)
- In CISA KEV
- No
- In EU EUVD
- Yes (EUVD-2007-2999)
- Published
- June 4, 2007
- NVD last modified
- June 16, 2026
- Status
- Modified
EU Vulnerability Database (EUVD)
This vulnerability is also tracked by ENISA as EUVD-2007-2999 in the EU Vulnerability Database. Last updated in EUVD on August 7, 2024.
View on the EU Vulnerability DatabaseAffected products
- php / php
References
- http://bugs.php.net/bug.php?id=41492(Vendor Advisory)
- http://lists.opensuse.org/opensuse-security-announce/2007-07/msg00006.html(Mailing List, Third Party Advisory)
- http://osvdb.org/36084(Broken Link)
- http://secunia.com/advisories/25456(Vendor Advisory)
- http://secunia.com/advisories/26048(Vendor Advisory)
- http://secunia.com/advisories/26231(Vendor Advisory)
- http://secunia.com/advisories/27102(Vendor Advisory)
- http://secunia.com/advisories/27110(Vendor Advisory)
- http://www.gentoo.org/security/en/glsa/glsa-200710-02.xml(Third Party Advisory)
- http://www.php.net/releases/5_2_3.php(Vendor Advisory)
- http://www.securityfocus.com/bid/24259(Third Party Advisory, VDB Entry)
- http://www.trustix.org/errata/2007/0023/(Broken Link)
- https://www.redhat.com/archives/fedora-package-announce/2007-September/msg00397.html(Third Party Advisory)
Last updated September 17, 2026 · Source: NVD, CISA KEV, FIRST.org EPSS
Query CVEs from your AI assistant
The CVE/NVD Explorer brain answers CVE questions directly inside Claude, ChatGPT, or any MCP assistant — always up to date, no setup. Add it once and stop pasting advisories into chat.
Add the CVE brain