{"id":"UBUNTU-CVE-2014-3478","details":"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.","modified":"2026-01-30T02:48:36.117578Z","published":"2014-07-09T00:00:00Z","related":["USN-2276-1","USN-2278-1"],"upstream":["CVE-2014-3478"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2014-3478"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-2276-1"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-2278-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2014-3478"}],"affected":[{"package":{"name":"file","ecosystem":"Ubuntu:14.04:LTS","purl":"pkg:deb/ubuntu/file@1:5.14-2ubuntu3.1?arch=source&distro=trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:5.14-2ubuntu3.1"}]}],"versions":["5.11-2ubuntu4","1:5.14-2ubuntu1","1:5.14-2ubuntu2","1:5.14-2ubuntu3"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_version":"1:5.14-2ubuntu3.1","binary_name":"file"},{"binary_version":"1:5.14-2ubuntu3.1","binary_name":"libmagic-dev"},{"binary_version":"1:5.14-2ubuntu3.1","binary_name":"libmagic1"},{"binary_version":"1:5.14-2ubuntu3.1","binary_name":"python-magic"},{"binary_version":"1:5.14-2ubuntu3.1","binary_name":"python3-magic"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2014/UBUNTU-CVE-2014-3478.json"}},{"package":{"name":"php5","ecosystem":"Ubuntu:14.04:LTS","purl":"pkg:deb/ubuntu/php5@5.5.9+dfsg-1ubuntu4.3?arch=source&distro=trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.5.9+dfsg-1ubuntu4.3"}]}],"versions":["5.5.3+dfsg-1ubuntu2","5.5.3+dfsg-1ubuntu3","5.5.6+dfsg-1ubuntu1","5.5.6+dfsg-1ubuntu2","5.5.8+dfsg-2ubuntu1","5.5.9+dfsg-1ubuntu1","5.5.9+dfsg-1ubuntu2","5.5.9+dfsg-1ubuntu3","5.5.9+dfsg-1ubuntu4","5.5.9+dfsg-1ubuntu4.1","5.5.9+dfsg-1ubuntu4.2"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_version":"5.5.9+dfsg-1ubuntu4.3","binary_name":"libapache2-mod-php5"},{"binary_version":"5.5.9+dfsg-1ubuntu4.3","binary_name":"libapache2-mod-php5filter"},{"binary_version":"5.5.9+dfsg-1ubuntu4.3","binary_name":"libphp5-embed"},{"binary_version":"5.5.9+dfsg-1ubuntu4.3","binary_name":"php-pear"},{"binary_version":"5.5.9+dfsg-1ubuntu4.3","binary_name":"php5"},{"binary_version":"5.5.9+dfsg-1ubuntu4.3","binary_name":"php5-cgi"},{"binary_version":"5.5.9+dfsg-1ubuntu4.3","binary_name":"php5-cli"},{"binary_version":"5.5.9+dfsg-1ubuntu4.3","binary_name":"php5-common"},{"binary_version":"5.5.9+dfsg-1ubuntu4.3","binary_name":"php5-curl"},{"binary_version":"5.5.9+dfsg-1ubuntu4.3","binary_name":"php5-dev"},{"binary_version":"5.5.9+dfsg-1ubuntu4.3","binary_name":"php5-enchant"},{"binary_version":"5.5.9+dfsg-1ubuntu4.3","binary_name":"php5-fpm"},{"binary_version":"5.5.9+dfsg-1ubuntu4.3","binary_name":"php5-gd"},{"binary_version":"5.5.9+dfsg-1ubuntu4.3","binary_name":"php5-gmp"},{"binary_version":"5.5.9+dfsg-1ubuntu4.3","binary_name":"php5-intl"},{"binary_version":"5.5.9+dfsg-1ubuntu4.3","binary_name":"php5-ldap"},{"binary_version":"5.5.9+dfsg-1ubuntu4.3","binary_name":"php5-mysql"},{"binary_version":"5.5.9+dfsg-1ubuntu4.3","binary_name":"php5-mysqlnd"},{"binary_version":"5.5.9+dfsg-1ubuntu4.3","binary_name":"php5-odbc"},{"binary_version":"5.5.9+dfsg-1ubuntu4.3","binary_name":"php5-pgsql"},{"binary_version":"5.5.9+dfsg-1ubuntu4.3","binary_name":"php5-pspell"},{"binary_version":"5.5.9+dfsg-1ubuntu4.3","binary_name":"php5-readline"},{"binary_version":"5.5.9+dfsg-1ubuntu4.3","binary_name":"php5-recode"},{"binary_version":"5.5.9+dfsg-1ubuntu4.3","binary_name":"php5-snmp"},{"binary_version":"5.5.9+dfsg-1ubuntu4.3","binary_name":"php5-sqlite"},{"binary_version":"5.5.9+dfsg-1ubuntu4.3","binary_name":"php5-sybase"},{"binary_version":"5.5.9+dfsg-1ubuntu4.3","binary_name":"php5-tidy"},{"binary_version":"5.5.9+dfsg-1ubuntu4.3","binary_name":"php5-xmlrpc"},{"binary_version":"5.5.9+dfsg-1ubuntu4.3","binary_name":"php5-xsl"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2014/UBUNTU-CVE-2014-3478.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]}