# CVE-2006-4481: The (1) fileexists and (2) imapreopen functions in PHP before 5.1.5 do not check for the safemode and openbasedir settings, which allows lo…

- Severity: High 7.2 (CVSS:2.0, scored by NVD) `AV:L/AC:L/Au:N/C:C/I:C/A:C`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.40%, higher than 73% of CVEs (2026-12-01)
- Published: 2006-08-31T21:00:00.000Z
- Modified: 2026-06-16T22:29:11.007Z
- Assigned by: mitre

## Description

The (1) file_exists and (2) imap_reopen functions in PHP before 5.1.5 do not check for the safe_mode and open_basedir settings, which allows local users to bypass the settings.  NOTE: the error_log function is covered by CVE-2006-3011, and the imap_open function is covered by CVE-2006-1017.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- php php: 5.1.0; 5.1.1; 5.1.2; 5.1.4

## References

- <http://www.php.net/release_5_1_5.php> (patch)
- <http://secunia.com/advisories/21768> (patch, third-party-advisory, vendor-advisory)
- <http://www.ubuntu.com/usn/usn-342-1> (vendor-advisory)
- <http://secunia.com/advisories/22039> (third-party-advisory)
- <http://www.mandriva.com/security/advisories?name=MDKSA-2006:162> (vendor-advisory)
- <http://www.securityfocus.com/bid/19582> (vdb-entry)
- <http://secunia.com/advisories/21546> (patch, third-party-advisory, vendor-advisory)
- <http://www.vupen.com/english/advisories/2006/3318> (vdb-entry)
- <http://secunia.com/advisories/21842> (patch, third-party-advisory, vendor-advisory)
- <http://www.novell.com/linux/security/advisories/2006_52_php.html> (vendor-advisory)

## Sources

- CVE List: [CVE-2006-4481](https://www.cve.org/CVERecord?id=CVE-2006-4481), CVE Terms of Use, modified 2024-08-07
- NVD: [CVE-2006-4481](https://nvd.nist.gov/vuln/detail/CVE-2006-4481), Public domain, modified 2026-06-16

---

Page: https://cve.day/CVE-2006-4481 · Whole record: https://cve.day/CVE-2006-4481.json · Rebuilt by cve.day 2026-11-25T22:56:58.177Z
