CVE-2007-4850

Description

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
not scored
CVSS v3
not scored
Exploit chance (EPSS)
5.575%
chance of exploitation in the next 30 days
higher than 93% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
Yes
Exploit references (NVD and CNA): 3
Metasploit modules: 0
Nuclei templates: 0
Exploit-DB: 1

Weakness

Timeline

  1. 2008-01-23First Exploit-DB entry (EDB-ID 31053)2 days before publication
  2. 2008-01-25Published by the CNA00:00 UTC

The timeline shows what already happened. To be told when this CVE changes next, watch it from the API.

Exploit and advisory records

Exploit-DBTypePlatformPublishedEDB-verified
EDB-ID 31053remotephp2008-01-23yes

Affected products

Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.

ProductVulnerable versionsFixed in
php php5.2.4no fix listed5.2.5no fix listednot listednot listed

Products and versions as NVD and the vendor that published the CVE list them.

References

28 references in total; the first 20 are shown.

Get more CVE data from the API.

Free without a key or signup. Pro adds monitoring and higher limits: pricing.

Sources