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).
{
"extracted_events": [
{
"cpe": "cpe:2.3:a:file_project:file:5.29:*:*:*:*:*:*:*",
"range": [
{
"introduced": "5.29"
},
{
"last_affected": "5.29"
}
],
"source": "CPE_STRING"
},
{
"range": [
{
"fixed": "35c94dc6acc418f1ad7f6241a6680e5327495793"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "9611f31313a93aa036389c5f3b15eea53510d4d"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-1000249.json"
[
{
"deprecated": false,
"digest": {
"line_hashes": [
"191730419508807807995728450003017890109",
"255685428453647614123441016389726967408",
"165778089394274387787587373511134378635",
"332407869254594291647053825146415379105",
"330899916478574045905968768894139584839",
"158136468176192798324936030520550183940",
"193169790860533737710285639127229560049"
],
"threshold": 0.9
},
"id": "CVE-2017-1000249-fd5cd05d",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/file/file/commit/35c94dc6acc418f1ad7f6241a6680e5327495793",
"target": {
"file": "src/readelf.c"
}
}
]
"2026-10-20T13:14:03Z"