{"id":"CVE-2014-8117","published":"2014-12-17T19:00:00Z","modified":"2024-08-06T13:10:50Z","title":"softmagic.c in file before 5.21 does not properly limit recursion, which allows remote attackers to cause a denial of…","vendor":null,"product":null,"tier":"tail","description":{"text":"softmagic.c in file before 5.21 does not properly limit recursion, which allows remote attackers to cause a denial of service (CPU consumption or crash) via unspecified vectors.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.05926,"percentile":0.93428,"provenance":"source"},"cwes":[],"references":[{"url":"http://www.ubuntu.com/usn/USN-2535-1","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"http://www.securityfocus.com/bid/71692","tags":["vdb-entry","x_refsource_BID"]},{"url":"http://secunia.com/advisories/61944","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.oracle.com/technetwork/topics/security/linuxbulletinapr2016-2952096.html","tags":["x_refsource_CONFIRM"]},{"url":"https://www.freebsd.org/security/advisories/FreeBSD-SA-14:28.file.asc","tags":["vendor-advisory","x_refsource_FREEBSD"]},{"url":"http://rhn.redhat.com/errata/RHSA-2016-0760.html","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://www.ubuntu.com/usn/USN-2494-1","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"http://www.oracle.com/technetwork/topics/security/linuxbulletinoct2015-2719645.html","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/file/file/commit/6f737ddfadb596d7d4a993f7ed2141ffd664a81c","tags":["x_refsource_CONFIRM"]},{"url":"http://www.securitytracker.com/id/1031344","tags":["vdb-entry","x_refsource_SECTRACK"]},{"url":"http://secunia.com/advisories/62081","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://seclists.org/oss-sec/2014/q4/1056","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://advisories.mageia.org/MGASA-2015-0040.html","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/file/file/blob/00cef282a902a4a6709bbbbb933ee397768caa38/ChangeLog","tags":["x_refsource_CONFIRM"]}],"priority":{"score":18.7,"factors":[{"name":"EPSS percentile","points":18.69}]},"summary":{"text":"The flaw is in softmagic.c, the component of the file utility that handles magic-number matching, which does not properly limit recursion. Remote attackers can exploit it through unspecified vectors to cause a denial of service by exhausting CPU or crashing the process, and the available details do not specify any particular access, authentication, user-interaction, or configuration requirements.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:05:16Z"},"euvd":{"id":"EUVD-2014-7962","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-cve-2014-2270-family-cve-2014-2270","parents":[{"from":"CVE-2014-2270","to":"CVE-2014-8117","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/6f737ddfadb596d7d4a993f7ed2141ffd664a81c"],"basis":"shared function","functions":["magic","magic_set"]}]},{"from":"CVE-2014-3538","to":"CVE-2014-8117","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/6f737ddfadb596d7d4a993f7ed2141ffd664a81c"],"basis":"shared function","functions":["magic_set"]}]},{"from":"CVE-2014-3478","to":"CVE-2014-8117","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/6f737ddfadb596d7d4a993f7ed2141ffd664a81c"],"basis":"shared function","functions":["magic_set"]}]}],"children":[{"from":"CVE-2014-8117","to":"CVE-2014-9620","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/file.h"],"commits":["https://github.com/file/file/commit/6f737ddfadb596d7d4a993f7ed2141ffd664a81c","https://github.com/file/file/commit/ce90e05774dd77d86cfc8dfa6da57b32816841c4"],"basis":"rarely changed file"}]},{"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"]}]},{"from":"CVE-2014-8117","to":"CVE-2015-8865","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/funcs.c"],"commits":["https://github.com/file/file/commit/6f737ddfadb596d7d4a993f7ed2141ffd664a81c","https://github.com/file/file/commit/6713ca45e7757297381f4b4cdb9cf5e624a9ad36"],"basis":"shared function","functions":["magic_set"]}]}]}}