CVE-2007-4658

NameCVE-2007-4658
DescriptionThe 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDSA-1444-1, DTSA-61-1

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
php5 (PTS)jessie, jessie (lts)5.6.40+dfsg-0+deb8u21fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
php5sourceetch5.2.0-8+etch9DSA-1444-1
php5sourcelenny5.2.3-1+lenny1DTSA-61-1
php5source(unstable)5.2.4-1low

Notes

fixed in php5/etch svn
http://cvs.php.net/viewcvs.cgi/php-src/ext/standard/string.c?r1=1.640&r2=1.641, starting "Line 7667"
limited format string vulnerability, the will be put into strfmon and the format string chars are limited to i,n and %

Search for package or bug name: Reporting problems