All vulnerabilities

Servers and applications

CVE-2007-4850

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.

Severity
Medium 5.0
Published
25 Jan 2008
Last changed
16 Jun 2026
Added to UpHeron
14 Oct 2026
Exploit chance
5.6% in the next 30 daysHigher than 92% of CVEs. EPSS by FIRST, 12 Nov 2026
Weakness
CWE-264
Attack
Over the network · No login needed
Attacker can
Read some data
CVSS vector
AV:N/AC:L/Au:N/C:P/I:N/A:N
Sources
NVD

Affected software

SoftwareAffected versions
PHPServers and applications · cpe:a:php:php
  • Version 5.2.4
  • Version 5.2.5

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2007-4850
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2007-4850