CVE-2007-4850
curl/interface.c in the cURL library (aka libcurl) in PHP 5.2.4 and 5.2.5 allows context...
curl/interface.c in the cURL library (aka libcurl) in PHP 5.2.4 and 5.2.5 allows context-dependent attackers to bypass safe_mode and open_basedir restrictions and read arbitrary files via a file:// request containing a \x00 sequence, a different vulnerability than CVE-2006-2563.
Exploit likelihood
What each source reports
NVD Score used
5.0
curl/interface.c in the cURL library (aka libcurl) in PHP 5.2.4 and 5.2.5 allows context-dependent attackers to bypass safe_mode and open_basedir restrictions and read arbitrary files via a file:// request containing a \x00 sequence, a different vulnerability than CVE-2006-2563.
- Record
CVE-2007-4850- CVSS 2.0
- 5.0 Medium
AV:N/AC:L/Au:N/C:P/I:N/A:N - Weakness
- CWE-264
- Updated
- 2026-11-02
CVE List No score
curl/interface.c in the cURL library (aka libcurl) in PHP 5.2.4 and 5.2.5 allows context-dependent attackers to bypass safe_mode and open_basedir restrictions and read arbitrary files via a file:// request containing a \x00 sequence, a different vulnerability than CVE-2006-2563.
- Record
CVE-2007-4850- Updated
- 2026-11-02
EUVDEUVD-2007-4831 No score
curl/interface.c in the cURL library (aka libcurl) in PHP 5.2.4 and 5.2.5 allows context-dependent attackers to bypass safe_mode and open_basedir restrictions and read arbitrary files via a file:// request containing a \x00 sequence, a different vulnerability than CVE-2006-2563.
- Record
EUVD-2007-4831- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-8q99-j5m2-gvjc No score
curl/interface.c in the cURL library (aka libcurl) in PHP 5.2.4 and 5.2.5 allows context...
curl/interface.c in the cURL library (aka libcurl) in PHP 5.2.4 and 5.2.5 allows context-dependent attackers to bypass safe_mode and open_basedir restrictions and read arbitrary files via a file:// request containing a \x00 sequence, a different vulnerability than CVE-2006-2563.
- Record
GHSA-8q99-j5m2-gvjc- Updated
- 2026-11-02
Affected products
Public exploits
Links only. Every CVE stores no exploit code.
| Source | Link | Date |
|---|---|---|
| Exploit-DB | PHP 5.2.5 - cURL 'safe_mode' Security Bypass | 2008-01-23 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, Exploit-DB, GitHub Advisories, NVD |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2007-4850 is a medium vulnerability (CVSS 5.0) in Php, published January 25, 2008. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 5.58%, the 92nd percentile. No source names a fixed version.
References
vupen.com/english/advisories/2008/1412
lists.apple.com/archives/security-announce//2008/Jul/msg00003.html
securityfocus.com/bid/31681
securityfocus.com/bid/29009
securityfocus.com/bid/27413
vupen.com/english/advisories/2008/2268
Show 24 moreShow less
ubuntu.com/usn/usn-628-1
securityfocus.com/archive/1/486856/100/0/threaded
securityreason.com/achievement_securityalert/51
openwall.com/lists/oss-security/2008/05/02/2
securityfocus.com/archive/1/492671/100/0/threaded
secunia.com/advisories/30411
php.net/ChangeLog-5.php
mandriva.com/security/advisories?name=MDVSA-2009:023
mandriva.com/security/advisories?name=MDVSA-2009:022
secunia.com/advisories/31200
secunia.com/advisories/32222
lists.grok.org.uk/pipermail/full-disclosure/2008-January/059849.html
securityreason.com/securityalert/3562
wiki.rpath.com/wiki/Advisories:rPSA-2008-0178
secunia.com/advisories/31326
vupen.com/english/advisories/2008/2780
exchange.xforce.ibmcloud.com/vulnerabilities/42134
exchange.xforce.ibmcloud.com/vulnerabilities/39852
lists.apple.com/archives/security-announce/2008/Oct/msg00001.html
support.apple.com/kb/HT3216
cvs.php.net/viewcvs.cgi/php-src/NEWS?revision=1.2027.2.547.2.1047&view=markup
secunia.com/advisories/30048
nvd.nist.gov/vuln/detail/CVE-2007-4850
github.com/advisories/GHSA-8q99-j5m2-gvjc