Input validation error in PHP - CVE-2007-0908

 

Input validation error in PHP - CVE-2007-0908

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


Vulnerability identifier: #VU110461
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2007-0908
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 gain access to sensitive information.

The WDDX deserializer in the wddx extension in PHP 5 before 5.2.1 and PHP 4 before 4.4.5 does not properly initialize the key_length variable for a numerical key, which allows context-dependent attackers to read stack memory via a wddxPacket element that contains a variable with a string name before a numerical variable.


Affected software

PHP
Gentoo Linux
dev-lang/php

How to mitigate CVE-2007-0908

Install update from vendor's website.

PHP - update to 4.0.1
dev-lang/php - update to 5.2.1-r3

Links to Public Exploits and PoC-codes

External References

Related Security Bulletins