file before 5.19 does not properly restrict the amount of data read during a regex search, which allows remote attackers to cause a denial of service (CPU consumption) via a crafted file that triggers backtracking during processing of an awk rule. NOTE: this vulnerability exists because of an incomplete fix for CVE-2013-7345.
https://support.apple.com/HT204659
https://github.com/file/file/commit/69a5a43b3b71f53b0577f41264a073f495799610
https://bugzilla.redhat.com/show_bug.cgi?id=1098222
http://www.securityfocus.com/bid/68348
http://www.oracle.com/technetwork/topics/security/linuxbulletinoct2015-2719645.html
http://www.oracle.com/technetwork/topics/security/linuxbulletinapr2016-2952096.html
http://www.oracle.com/technetwork/topics/security/bulletinjan2015-2370101.html
http://www.oracle.com/technetwork/security-advisory/cpuoct2017-3236626.html
http://www.debian.org/security/2014/dsa-3021
http://www.debian.org/security/2014/dsa-3008
http://secunia.com/advisories/60696
http://rhn.redhat.com/errata/RHSA-2016-0760.html
http://rhn.redhat.com/errata/RHSA-2014-1766.html
http://rhn.redhat.com/errata/RHSA-2014-1765.html
http://rhn.redhat.com/errata/RHSA-2014-1327.html
http://openwall.com/lists/oss-security/2014/06/30/7
http://lists.apple.com/archives/security-announce/2015/Apr/msg00001.html