Out-of-bounds read in file - CVE-2014-9652
Published: November 27, 2018
Vulnerability details
The vulnerability allows a remote attacker to cause DoS condition.
The vulnerability exists due to the mconvert function in softmagic.c in file before 5.21, as used in the Fileinfo component in PHP before 5.4.37, 5.5.x before 5.5.21, and 5.6.x before 5.6.5, does not properly handle a certain string-length field during a copy of a truncated version of a Pascal string. A remote attacker can cause out-of-bounds memory access and application crash via a crafted file.
Affected software
Debian Linux
php5 (Debian package)
php5 (Ubuntu package)
file (Debian package)
How to mitigate CVE-2014-9652
php5 (Debian package) - addressed in versions 5.3.3-7+squeeze24, 5.4.36-0+deb7u3
php5 (Ubuntu package) - addressed in versions 5.3.10-1ubuntu3.16, 5.5.9+dfsg-1ubuntu4.6, 5.5.12+dfsg-2ubuntu4.2
file (Debian package) - update to 5.11-2+deb7u7