Input validation error in PHP - CVE-2007-4658

 

Input validation error in PHP - CVE-2007-4658

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


Vulnerability identifier: #VU110369
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-4658
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 read and manipulate data.

The money_format function in PHP 5 before 5.2.4, and PHP 4 before 4.4.8, permits multiple (1) %i and (2) %n tokens, which has unknown impact and attack vectors, possibly related to a format string vulnerability.


Affected software

PHP

How to mitigate CVE-2007-4658

Install update from vendor's website.

PHP - addressed in versions 4.4.8, 4.10, 5.2.15

External References

Related Security Bulletins