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, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-27-1, DSA-2974-1, DSA-3021-1

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
file (PTS)bullseye (security), bullseye1:5.39-3+deb11u1fixed
bookworm1:5.44-3fixed
sid, trixie1:5.45-3fixed

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

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

Notes

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

Search for package or bug name: Reporting problems