Versions mentioned in the description apply to the upstream
Remediation section below for
Debian:9 relevant versions.
An issue in file() was introduced in commit 9611f31313a93aa036389c5f3b15eea53510d4d1 (Oct 2016) lets an attacker overwrite a fixed 20 bytes stack buffer with a specially crafted .notes section in an ELF binary. This was fixed in commit 35c94dc6acc418f1ad7f6241a6680e5327495793 (Aug 2017).
file to version 1:5.30-1+deb9u1 or higher.