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).
[
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"191730419508807807995728450003017890109",
"255685428453647614123441016389726967408",
"165778089394274387787587373511134378635",
"332407869254594291647053825146415379105",
"330899916478574045905968768894139584839",
"158136468176192798324936030520550183940",
"193169790860533737710285639127229560049"
]
},
"signature_type": "Line",
"target": {
"file": "src/readelf.c"
},
"deprecated": false,
"signature_version": "v1",
"source": "https://github.com/file/file/commit/35c94dc6acc418f1ad7f6241a6680e5327495793",
"id": "CVE-2017-1000249-fd5cd05d"
}
]