CVE-2007-0448 in Php
The fopen function in PHP 5.2.0 does not properly handle invalid URI handlers, which allows context-dependent attackers to bypass safe_mode restrictions and read arbitrary files via a file path specified with an invalid URI, as demonstrated via the srpath URI.
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Php | Php | 5.2.0 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Reported · reference |
Official description
The fopen function in PHP 5.2.0 does not properly handle invalid URI handlers, which allows context-dependent attackers to bypass safe_mode restrictions and read arbitrary files via a file path specified with an invalid URI, as demonstrated via the srpath URI.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2007-0448 |
|---|---|
| BreachSpider ID | BS-2007-GLOBAL-161156-C |
| CVSS vector | AV:N/AC:L/Au:N/C:C/I:C/A:C |
| Published | 2007-05-24 |
| Last modified | 2026-06-16 |
| Source | NVD |
Analysis AI-written, not human-reviewed
CVE-2007-0448 affects PHP 5.2.0, where the fopen function improperly handles invalid URI handlers, allowing attackers to bypass safe_mode restrictions and read arbitrary files.
Attackers can exploit this vulnerability by using a file path specified with an invalid URI, such as the srpath URI, to read arbitrary files on the server.
Questions
What is CVE-2007-0448?
CVE-2007-0448 affects PHP 5.2.0, where the fopen function improperly handles invalid URI handlers, allowing attackers to bypass safe_mode restrictions and read arbitrary files.
What is the CVSS score for CVE-2007-0448?
CVE-2007-0448 has CVSS 10.0 (Critical). Vector: AV:N/AC:L/Au:N/C:C/I:C/A:C. EPSS: 7.1%.
Is CVE-2007-0448 actively exploited?
Public exploit available for CVE-2007-0448. Exploitation risk elevated.
How do I remediate CVE-2007-0448?
Priority: IMMEDIATE.
What systems are affected by CVE-2007-0448?
CVE-2007-0448 affects Php Php.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Php","product":"Php","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-16.