CVE-2007-4825 json
Directory traversal vulnerability in PHP 5.2.4 and earlier allows attackers to bypass open_basedir restrictions and possibly execute arbitr…
published 2007-09-12 19 y ago modified 2026-06-16 4 mo ago also EUVD-2007-4806
- cvss
- 7.5
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 3.4%
- EPSS 3.4% chance of exploitation in 30 days, percentile 89%
- public exploits
- 0
- none known
Summary
Directory traversal vulnerability in PHP 5.2.4 and earlier allows attackers to bypass open_basedir restrictions and possibly execute arbitrary code via a .. (dot dot) in the dl function.
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2007-4825 updated
php open_basedir restriction bypass and possible crash in dl() function
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
3.43% chance of exploitation in the next 30 days, higher than 89% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Classification
- Weakness
-
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
- Technology feeds
References
-
lists.opensuse.org
/opensuse-security-announce/2008-01/msg00006.html
vendor-advisory
-
gentoo.org
/security/en/glsa/glsa-200710-02.xml
vendor-advisory
- php.net /ChangeLog-5.php#5.2.5
-
securityfocus.com
/archive/1/478989/100/0/threaded
mailing-list
-
osvdb.org
/45902
vdb-entry
-
secunia.com
/advisories/28658
third-party-advisory
-
securityreason.com
/securityalert/3119
third-party-advisory
-
securityfocus.com
/archive/1/478988/100/0/threaded
mailing-list
- php.net /releases/5_2_5.php
-
securityfocus.com
/archive/1/478985/100/0/threaded
mailing-list
-
exchange.xforce.ibmcloud.com
/vulnerabilities/36528
vdb-entry
-
secunia.com
/advisories/27102
third-party-advisory
Sources
- CVE List CVE-2007-4825
- NVD CVE-2007-4825
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.