Buffer overflow in file - CVE-2014-3478
Published: November 27, 2018
Vulnerability details
The vulnerability allows a remote attacker to cause DoS condition on the target system.
The vulnerability exists due to 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. A remote attacker can trigger memory corruption via a crafted Pascal string in a FILE_PSTRING conversion and cause the service to crash.
Affected software
Amazon Linux AMI
Debian Linux
Ubuntu
Slackware Linux
file (Ubuntu package)
libmagic1 (Ubuntu package)
php5 (Ubuntu package)
php5 (Debian package)
file (Debian package)
HP-UX Web Server Suite
How to mitigate CVE-2014-3478
file (Ubuntu package) - addressed in versions 5.03-5ubuntu1.3, 5.09-2ubuntu0.4, 5.11-2ubuntu4.3, 1:5.14-2ubuntu3.1
libmagic1 (Ubuntu package) - addressed in versions 5.03-5ubuntu1.3, 5.09-2ubuntu0.4, 5.11-2ubuntu4.3, 1:5.14-2ubuntu3.1
php5 (Ubuntu package) - addressed in versions 5.3.2-1ubuntu4.26, 5.3.10-1ubuntu3.13
php5 (Debian package) - update to 5.4.4-14+deb7u12
file (Debian package) - update to 5.11-2+deb7u4
HP-UX Web Server Suite - update to 4.02
External References
Related Security Bulletins
- Ubuntu update for PHP
- Amazon Linux AMI update for file
- Amazon Linux AMI update for php55
- Amazon Linux AMI update for php54
- Slackware Linux update for php
- Multiple vulnerabilities in HP-UX Apache Server Suite running Apache Tomcat or PHP
- Ubuntu update for file
- DSA-3021-1: file - security update
- DSA-2974-1: php5 - security update