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; LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SuSE, Mageia, GitHub code/issues, web search, more)
ReferencesDLA-27-1, DSA-2974-1, DSA-3021-1
NVD severitymedium (attack range: remote)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
file (PTS)wheezy5.11-2+deb7u8fixed
wheezy (security)5.11-2+deb7u9fixed
jessie1:5.22+15-2+deb8u1fixed
stretch, sid1:5.25-2fixed
php5 (PTS)wheezy (security), wheezy5.4.45-0+deb7u2fixed
jessie5.6.19+dfsg-0+deb8u1fixed
jessie (security)5.6.20+dfsg-0+deb8u1fixed
stretch5.6.21+dfsg-2fixed
sid5.6.22+dfsg-1fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
filesource(unstable)1:5.19-1medium
filesourcesqueeze5.04-5+squeeze6medium
filesourcewheezy5.11-2+deb7u4mediumDSA-3021-1
php5source(unstable)5.6.0~rc1+dfsg-1medium
php5sourcesqueeze(not affected)
php5sourcewheezy5.4.4-14+deb7u12mediumDSA-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