Name | CVE-2015-4605 |
Description | The mcopy 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 restrict a certain offset value, 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) | jessie, jessie (lts) | 1:5.22+15-2+deb8u7 | fixed |
stretch (security), stretch (lts), stretch | 1:5.30-1+deb9u3 | fixed | |
buster | 1:5.35-4+deb10u2 | fixed | |
buster (security), buster (lts) | 1:5.35-4+deb10u1 | fixed | |
bullseye (security), bullseye | 1:5.39-3+deb11u1 | fixed | |
bookworm | 1:5.44-3 | fixed | |
sid, trixie | 1:5.45-3 | fixed | |
php5 (PTS) | jessie, jessie (lts) | 5.6.40+dfsg-0+deb8u21 | 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