{"id":"CVE-2014-9652","published":"2015-03-30T10:00:00Z","modified":"2024-08-06T13:47:41Z","title":"The mconvert function in softmagic.c in file before 5.21, as used in the Fileinfo component in PHP before 5.4.37…","vendor":null,"product":null,"tier":"tail","description":{"text":"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, which might allow remote attackers to cause a denial of service (out-of-bounds memory access and application crash) via a crafted file.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.05238,"percentile":0.92721,"provenance":"source"},"cwes":[],"references":[{"url":"http://marc.info/?l=bugtraq&m=144050155601375&w=2","tags":["vendor-advisory","x_refsource_HP"]},{"url":"http://www.securityfocus.com/bid/72505","tags":["vdb-entry","x_refsource_BID"]},{"url":"http://lists.apple.com/archives/security-announce/2015/Sep/msg00008.html","tags":["vendor-advisory","x_refsource_APPLE"]},{"url":"http://marc.info/?l=bugtraq&m=143748090628601&w=2","tags":["vendor-advisory","x_refsource_HP"]},{"url":"http://www.oracle.com/technetwork/topics/security/linuxbulletinjan2016-2867209.html","tags":["x_refsource_CONFIRM"]},{"url":"http://www.oracle.com/technetwork/topics/security/bulletinjul2015-2511963.html","tags":["x_refsource_CONFIRM"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2015-03/msg00004.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"https://github.com/file/file/commit/59e63838913eee47f5c120a6c53d4565af638158","tags":["x_refsource_CONFIRM"]},{"url":"http://php.net/ChangeLog-5.php","tags":["x_refsource_CONFIRM"]},{"url":"http://www.oracle.com/technetwork/topics/security/linuxbulletinoct2015-2719645.html","tags":["x_refsource_CONFIRM"]},{"url":"https://support.apple.com/HT205267","tags":["x_refsource_CONFIRM"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2015-03/msg00003.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"https://bugs.php.net/patch-display.php?bug=68735&patch=bug68735.patch&revision=1420309079","tags":["x_refsource_CONFIRM"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2015-03/msg00002.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://rhn.redhat.com/errata/RHSA-2015-1135.html","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://bugs.gw.com/view.php?id=398","tags":["x_refsource_CONFIRM"]},{"url":"https://security.gentoo.org/glsa/201701-42","tags":["vendor-advisory","x_refsource_GENTOO"]},{"url":"http://rhn.redhat.com/errata/RHSA-2015-1053.html","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://openwall.com/lists/oss-security/2015/02/05/12","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://rhn.redhat.com/errata/RHSA-2015-1066.html","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://bugs.php.net/bug.php?id=68735","tags":["x_refsource_CONFIRM"]}],"priority":{"score":18.5,"factors":[{"name":"EPSS percentile","points":18.54}]},"summary":{"text":"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, mishandles a string-length field when copying a truncated Pascal string. An remote attacker who can get a crafted file processed by the affected Fileinfo component can trigger out-of-bounds memory access and crash the application, causing a denial of service.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:08:37Z"},"euvd":{"id":"EUVD-2014-9462","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-cve-2014-2270-family-cve-2014-2270","parents":[{"from":"CVE-2014-2270","to":"CVE-2014-9652","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/softmagic.c"],"commits":["https://github.com/file/file/commit/447558595a3650db2886cd2f416ad0beba965801","https://github.com/file/file/commit/59e63838913eee47f5c120a6c53d4565af638158"],"basis":"shared function","functions":["magic_set"]}]},{"from":"CVE-2014-3538","to":"CVE-2014-9652","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/softmagic.c"],"commits":["https://github.com/file/file/commit/74cafd7de9ec99a14f4480927580e501c8f852c3","https://github.com/file/file/commit/71a8b6c0d758acb0f73e2e51421a711b5e9d6668","https://github.com/file/file/commit/59e63838913eee47f5c120a6c53d4565af638158"],"basis":"shared function","functions":["magic_set"]}]},{"from":"CVE-2014-3478","to":"CVE-2014-9652","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/softmagic.c"],"commits":["https://github.com/file/file/commit/27a14bc7ba285a0a5ebfdb55e54001aa11932b08","https://github.com/file/file/commit/59e63838913eee47f5c120a6c53d4565af638158"],"basis":"shared function","functions":["magic_set"]}]},{"from":"CVE-2014-8117","to":"CVE-2014-9652","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/softmagic.c"],"commits":["https://github.com/file/file/commit/6f737ddfadb596d7d4a993f7ed2141ffd664a81c","https://github.com/file/file/commit/59e63838913eee47f5c120a6c53d4565af638158"],"basis":"shared function","functions":["magic_set"]}]}]}}