Input validation error in PHP - CVE-2008-3658

 

Input validation error in PHP - CVE-2008-3658

Published: October 11, 2018 / Updated: June 8, 2025


Vulnerability identifier: #VU110337
CSH Severity: Medium
CVSS v4: []
CVE-ID: CVE-2008-3658
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows context-dependent attackers to perform a denial of service (DoS) attack.

The vulnerability exists due to insufficient validation of user-supplied input. A remote attacker can cause a denial of service (crash) and possibly execute arbitrary code via a crafted font file.


Affected software

PHP
Debian Linux
Ubuntu
php5-cli (Ubuntu package)
php5-cgi (Ubuntu package)
php5-gd (Ubuntu package)
libapache2-mod-php5 (Ubuntu package)
php5 (Debian package)
libapache2-mod-php5filter (Ubuntu package)

How to mitigate CVE-2008-3658

Install update from vendor's website.

PHP - addressed in versions 4.4.9, 5.2.7
php5-cli (Ubuntu package) - addressed in versions 5.1.2-1ubuntu3.13, 5.2.3-1ubuntu6.5, 5.2.4-2ubuntu5.5, 5.2.6-2ubuntu4.1
php5-cgi (Ubuntu package) - addressed in versions 5.1.2-1ubuntu3.13, 5.2.3-1ubuntu6.5, 5.2.4-2ubuntu5.5, 5.2.6-2ubuntu4.1
php5-gd (Ubuntu package) - addressed in versions 5.1.2-1ubuntu3.13, 5.2.3-1ubuntu6.5, 5.2.4-2ubuntu5.5, 5.2.6-2ubuntu4.1
libapache2-mod-php5 (Ubuntu package) - addressed in versions 5.1.2-1ubuntu3.13, 5.2.3-1ubuntu6.5, 5.2.4-2ubuntu5.5, 5.2.6-2ubuntu4.1
php5 (Debian package) - update to 5.2.0-8+etch13
libapache2-mod-php5filter (Ubuntu package) - update to 5.2.6-2ubuntu4.1

External References

Related Security Bulletins