file is a utility that guesses a file format by scanning binary data for patterns.
BEGIN regular expression in the awk script detector in magic/Magdir/commands uses multiple wildcards with unlimited repetitions.
A context-dependent attacker could entice a user to open a specially crafted file, possibly resulting in a Denial of Service condition.
There is no known workaround at this time.
All file users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose ">=sys-apps/file-5.15"