Input validation error in PHP - CVE-2007-3806

 

Input validation error in PHP - CVE-2007-3806

Published: September 29, 2017 / Updated: June 13, 2025


Vulnerability identifier: #VU110387
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2007-3806
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability: Public exploit is available

Vulnerability details

The vulnerability allows a remote non-authenticated attacker to read and manipulate data.

The glob function in PHP 5.2.3 allows context-dependent attackers to cause a denial of service and possibly execute arbitrary code via an invalid value of the flags parameter, probably related to memory corruption or an invalid read on win32 platforms, and possibly related to lack of initialization for a glob structure.


Affected software

PHP
Debian Linux
php5 (Debian package)
php4 (Debian package)

How to mitigate CVE-2007-3806

Install update from vendor's website.

PHP - update to 5.2.4
php5 (Debian package) - update to 5.2.0-8+etch11
php4 (Debian package) - update to 6:4.4.4-8+etch6

Links to Public Exploits and PoC-codes

External References

Related Security Bulletins