CVE-2014-3478

NameCVE-2014-3478
DescriptionBuffer 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
ReferencesDLA-27-1, DSA-2974-1, DSA-3021-1
NVD severitymedium

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
file (PTS)jessie1:5.22+15-2+deb8u4fixed
jessie (security)1:5.22+15-2+deb8u6fixed
stretch1:5.30-1+deb9u2fixed
stretch (security)1:5.30-1+deb9u3fixed
buster1:5.35-4fixed
buster (security)1:5.35-4+deb10u1fixed
bullseye, sid1:5.37-6fixed
php5 (PTS)jessie5.6.33+dfsg-0+deb8u1fixed
jessie (security)5.6.40+dfsg-0+deb8u7fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
filesource(unstable)1:5.19-1
filesourcesqueeze5.04-5+squeeze6
filesourcewheezy5.11-2+deb7u4DSA-3021-1
php5source(unstable)5.6.0~rc1+dfsg-1
php5sourcesqueeze(not affected)
php5sourcewheezy5.4.4-14+deb7u12DSA-2974-1

Notes

https://github.com/file/file/commit/27a14bc7ba285a0a5ebfdb55e54001aa11932b08
[squeeze] - php5 <not-affected> (Vulnerable code was introduced later)
http://bugs.php.net/bug.php?id=67410

Search for package or bug name: Reporting problems