Name | CVE-2014-3478 |
Description | Buffer overflow in the mconvert function in softmagic.c in file before 5.19, as used in the Fileinfo component in PHP before 5.4.30 and 5.5.x before 5.5.14, allows remote attackers to cause a denial of service (application crash) via a crafted Pascal string in a FILE_PSTRING conversion. |
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-27-1, DSA-2974-1, DSA-3021-1 |
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 | squeeze | 5.04-5+squeeze6 | |||
file | source | wheezy | 5.11-2+deb7u4 | DSA-3021-1 | ||
file | source | (unstable) | 1:5.19-1 | |||
php5 | source | squeeze | (not affected) | |||
php5 | source | wheezy | 5.4.4-14+deb7u12 | DSA-2974-1 | ||
php5 | source | (unstable) | 5.6.0~rc1+dfsg-1 |
https://github.com/file/file/commit/27a14bc7ba285a0a5ebfdb55e54001aa11932b08
[squeeze] - php5 <not-affected> (Vulnerable code was introduced later)
https://bugs.php.net/bug.php?id=67410