SOC status:Duty analyst on shift

UK Cyber Defence
VulnerabilityModified

CVE-2006-3011

The error_log function in basic_functions.c in PHP before 4.4.4 and 5.x before 5.1.5 allows local users to bypass safe mode and open_basedir restrictions via a "php://" or other scheme in the third argument, which disables safe mode.

EXPLOIT ✓MEDIUM 4.6EPSS 1.34%

Does this matter?

A public exploit is published in Exploit-DB (verified), so the technical barrier is gone even though the severity is medium and EPSS is 1.3%. Treat it as high on anything reachable from the internet.

Description

The error_log function in basic_functions.c in PHP before 4.4.4 and 5.x before 5.1.5 allows local users to bypass safe mode and open_basedir restrictions via a "php://" or other scheme in the third argument, which disables safe mode.

CVSS 2.0
4.6 MEDIUMAV:L/AC:L/Au:N/C:P/I:P/A:P
EPSS
1.34% probability · 71th percentile
Public exploits
1 in Exploit-DB · verified · first 20 November 2008
CISA KEV
Not listed
Weakness
CWE-264
Affected
php/php
Source
cve@mitre.org
EPSS trend
0%3%5%26 October 2026: 1.34%26 October 202626 October 2026

EPSS 1.3% since 26 October 2026; no change recorded yet. Points are recorded when the score first appears and whenever it moves by a percentage point or more.

Public exploits (1)

Entries in Exploit-DB that cite this CVE. Links go to the Exploit-DB page and to the file in the public repository; nothing is hosted here. A verified tick means the Exploit-DB team confirmed the exploit works against the stated version.

EDB-IDTitleTypePublishedVerified
EDB-7171source ↗PHP 5.2.6 - 'error_log' Safe_mode Bypassmultiple · SecurityReasonlocal20 November 2008yes

References

Source: NVD record, EPSS from FIRST.org, KEV from CISA, exploits from Exploit-DB. Refreshed daily. Download this record as JSON.