Input validation error in PHP - CVE-2006-1608

 

Input validation error in PHP - CVE-2006-1608

Published: October 30, 2018 / Updated: June 9, 2025


Vulnerability identifier: #VU110488
CSH Severity: Low
CVSS v4: 4.8 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2006-1608
CWE-ID: CWE-20
Exploitation vector: Local access
Exploit availability: Public exploit is available

Vulnerability details

The vulnerability allows a local user to gain access to sensitive information.

The copy function in file.c in PHP 4.4.2 and 5.1.2 allows local users to bypass safe mode and read arbitrary files via a source argument containing a compress.zlib:// URI.


Affected software

PHP

How to mitigate CVE-2006-1608

Install update from vendor's website.

PHP - addressed in versions 4.4.3, 4.10, 5.1.3

Links to Public Exploits and PoC-codes

External References

Related Security Bulletins