Skip to content
OpenAdvisories
Medium · 6.5 CVE-2014-3478 EUVD-2014-3487GHSA-h772-f5rg-qrvv

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…

Published Jul 9, 2014 · Updated Dec 4, 2025 · Assigned by redhat

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 file 1:5.19-1 —
Debian 13 file 1:5.19-1 —
Debian 12 file 1:5.19-1 —
Debian 7 file 5.11-2+deb7u4 DSA-3021-1
Debian 7 php5 5.4.4-14+deb7u12 DSA-2974-1
Debian 6.0 file 5.04-5+squeeze6 DLA-27-1
ReleasePackageFixed inAdvisory
Ubuntu 14.04 LTS file 1:5.14-2ubuntu3.1 USN-2278-1
Ubuntu 14.04 LTS php5 5.5.9+dfsg-1ubuntu4.3 USN-2276-1
ReleasePackageFixed inAdvisory
RHEL 7 file +4 5.11-31.el7 RHSA-2015:2155
RHEL 7 php +24 5.4.16-23.el7_0.1 RHSA-2014:1327
RHEL 1 php54-php +24 5.4.16-22.el6 RHSA-2014:1765
RHEL 1 php55-php +26 5.5.6-13.el6 RHSA-2014:1766
ReleasePackageFixed inAdvisory
SLES 11 SP2 php53 5.3.17-47.1 SUSE-SU-2016:1638-1

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 7 file +4 5.11-31.el7 ELSA-2015-2155
Oracle Linux 7 php +24 5.4.16-23.el7_0.1 ELSA-2014-1327

Advisories 12

References