Input validation error in PHP - CVE-2008-1384

 

Input validation error in PHP - CVE-2008-1384

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


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

Vulnerability details

The vulnerability allows a remote non-authenticated attacker to perform service disruption.

Integer overflow in PHP 5.2.5 and earlier allows context-dependent attackers to cause a denial of service and possibly have unspecified other impact via a printf format parameter with a large width specifier, related to the php_sprintf_appendstring function in formatted_print.c and probably other functions for formatted strings (aka *printf functions).


Affected software

PHP
Ubuntu
libapache2-mod-php5 (Ubuntu package)
php5-cgi (Ubuntu package)
php5-curl (Ubuntu package)
php5-cli (Ubuntu package)

How to mitigate CVE-2008-1384

Install update from vendor's website.

PHP - update to 5.2.6
libapache2-mod-php5 (Ubuntu package) - addressed in versions 5.1.2-1ubuntu3.12, 5.2.1-0ubuntu1.6, 5.2.3-1ubuntu6.4, 5.2.4-2ubuntu5.3
php5-cgi (Ubuntu package) - addressed in versions 5.1.2-1ubuntu3.12, 5.2.1-0ubuntu1.6, 5.2.3-1ubuntu6.4, 5.2.4-2ubuntu5.3
php5-curl (Ubuntu package) - addressed in versions 5.1.2-1ubuntu3.12, 5.2.1-0ubuntu1.6, 5.2.3-1ubuntu6.4, 5.2.4-2ubuntu5.3
php5-cli (Ubuntu package) - addressed in versions 5.1.2-1ubuntu3.12, 5.2.1-0ubuntu1.6, 5.2.3-1ubuntu6.4, 5.2.4-2ubuntu5.3

External References

Related Security Bulletins