CVE-2015-4604

NameCVE-2015-4604
DescriptionThe mget function in softmagic.c in file 5.x, as used in the Fileinfo component in PHP before 5.4.40, 5.5.x before 5.5.24, and 5.6.x before 5.6.8, does not properly maintain a certain pointer relationship, which allows remote attackers to cause a denial of service (application crash) or possibly execute arbitrary code via a crafted string that is mishandled by a "Python script text executable" rule.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-307-1
Debian Bugs783099

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
file (PTS)bullseye (security), bullseye1:5.39-3+deb11u1fixed
bookworm1:5.44-3fixed
sid, trixie1:5.45-3fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
filesource(unstable)(not affected)
php5sourcesqueeze5.3.3.1-7+squeeze27DLA-307-1
php5sourcewheezy5.4.41-0+deb7u1
php5sourcejessie5.6.9+dfsg-0+deb8u1
php5source(unstable)5.6.9+dfsg-1783099

Notes

- file <not-affected> (Not reproducible with file, see #783108)
https://git.php.net/?p=php-src.git;a=commitdiff;h=f938112c495b0d26572435c0be73ac0bfe642ecd
https://bugs.php.net/bug.php?id=68819

Search for package or bug name: Reporting problems