Name | CVE-2015-4604 |
Description | The 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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-307-1 |
Debian Bugs | 783099 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
file (PTS) | bullseye (security), bullseye | 1:5.39-3+deb11u1 | fixed |
bookworm | 1:5.44-3 | fixed | |
sid, trixie | 1:5.45-3 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
file | source | (unstable) | (not affected) | |||
php5 | source | squeeze | 5.3.3.1-7+squeeze27 | DLA-307-1 | ||
php5 | source | wheezy | 5.4.41-0+deb7u1 | |||
php5 | source | jessie | 5.6.9+dfsg-0+deb8u1 | |||
php5 | source | (unstable) | 5.6.9+dfsg-1 | 783099 |
- 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