Input validation error in PHP - CVE-2006-7204

 

Input validation error in PHP - CVE-2006-7204

Published: January 19, 2023 / Updated: June 8, 2025


Vulnerability identifier: #VU110397
CSH Severity: Low
CVSS v4.0: 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/E:U/U:Clear
CVE-ID: CVE-2006-7204
CWE-ID: CWE-20
Exploitation vector: Local access
Exploit availability: No public exploit available
Vendor: PHP Group
Affected software:
PHP

Detailed vulnerability description

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

The imap_body function in PHP before 4.4.4 does not implement safemode or open_basedir checks, which allows local users to read arbitrary files or list arbitrary directory contents.


How to mitigate CVE-2006-7204

Install update from vendor's website.

Sources