All vulnerabilities

Servers and applications

CVE-2006-6383

PHP 5.2.0 and 4.4 allows local users to bypass safe_mode and open_basedir restrictions via a malicious path and a null byte before a ";" in a session_save_path argument, followed by an allowed path, which causes a parsing inconsistency in which PHP validates the allowed path but sets session.save_path to the malicious path.

Severity
Medium 4.6
Published
10 Dec 2006
Last changed
16 Jun 2026
Added to UpHeron
14 Oct 2026
Exploit chance
1.1% in the next 30 daysHigher than 66% of CVEs. EPSS by FIRST, 12 Nov 2026
Weakness
Improper input validation (CWE-20)
Attack
Needs local access · No login needed
Attacker can
Read some data · Change some data · Slow it down
CVSS vector
AV:L/AC:L/Au:N/C:P/I:P/A:P
Sources
NVD

Affected software

SoftwareAffected versions
PHPServers and applications · cpe:a:php:php
  • Version 4.4.0
  • Version 5.2.0

References

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