Medium
Security advisory
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).
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2017-1000249
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 12:09 UTC · Revision 1
Source evidence
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).
osv:CVE-2017-1000249
Complete source record
{
"id": "15077c10e842232d538c32a8b0400ba3e2d62f9c45cecf3d031c24b347a72a1f",
"url": "https://osv.dev/vulnerability/CVE-2017-1000249",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2017-1000249",
"summary": "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).",
"evidence": "osv:CVE-2017-1000249",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2017-1000249",
"aliases": [
"CVE-2017-1000249"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/file/file",
"type": "GIT",
"events": [
{
"introduced": "015b0cdce1a0abb68ab99510e7fc8d2f77e8ec77"
},
{
"last_affected": "015b0cdce1a0abb68ab99510e7fc8d2f77e8ec77"
},
{
"fixed": "35c94dc6acc418f1ad7f6241a6680e5327495793"
},
{
"fixed": "9611f31313a93aa036389c5f3b15eea53510d4d"
}
],
"database_specific": {
"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"
}
]
}
}
],
"versions": [
"5.29",
"FILE5_29"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-1000249.json",
"vanir_signatures": [
{
"id": "CVE-2017-1000249-fd5cd05d",
"digest": {
"threshold": 0.9,
"line_hashes": [
"191730419508807807995728450003017890109",
"255685428453647614123441016389726967408",
"165778089394274387787587373511134378635",
"332407869254594291647053825146415379105",
"330899916478574045905968768894139584839",
"158136468176192798324936030520550183940",
"193169790860533737710285639127229560049"
]
},
"source": "https://github.com/file/file/commit/35c94dc6acc418f1ad7f6241a6680e5327495793",
"target": {
"file": "src/readelf.c"
},
"deprecated": false,
"signature_type": "Line",
"signature_version": "v1"
}
],
"vanir_signatures_modified": "2026-10-20T13:14:03Z"
}
}
],
"modified": "2026-10-20T13:14:03.089270636Z",
"provider": "osv",
"references": [
"https://security.gentoo.org/glsa/201710-02",
"https://github.com/file/file/commit/35c94dc6acc418f1ad7f6241a6680e5327495793",
"https://github.com/file/file/commit/9611f31313a93aa036389c5f3b15eea53510d4d"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2017-1000249",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 387352,
"published_at": "2017-09-11T19:29:00.2+00:00"
}