Medium
Security advisory
do_core_note in readelf.c in libmagic.a in file 5.35 has an out-of-bounds read because memcpy is misused.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2019-8906
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 12:33 UTC · Revision 1
Source evidence
do_core_note in readelf.c in libmagic.a in file 5.35 has an out-of-bounds read because memcpy is misused.
osv:CVE-2019-8906
Complete source record
{
"id": "839d218541b7ff73813b6a46857a354fa555c691ea943b7965580730f288018f",
"url": "https://osv.dev/vulnerability/CVE-2019-8906",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2019-8906",
"summary": "do_core_note in readelf.c in libmagic.a in file 5.35 has an out-of-bounds read because memcpy is misused.",
"evidence": "osv:CVE-2019-8906",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2019-8906",
"aliases": [
"CVE-2019-8906"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:L"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/file/file",
"type": "GIT",
"events": [
{
"introduced": "d1ff3af7a2c6b38bdbdde7af26b59e3c50a48fff"
},
{
"last_affected": "d1ff3af7a2c6b38bdbdde7af26b59e3c50a48fff"
},
{
"fixed": "2858eaf99f6cc5aae129bcbf1e24ad160240185f"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:file_project:file:5.35:*:*:*:*:*:*:*",
"range": [
{
"introduced": "5.35"
},
{
"last_affected": "5.35"
}
],
"source": "CPE_STRING"
},
{
"range": [
{
"fixed": "2858eaf99f6cc5aae129bcbf1e24ad160240185f"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"5.35",
"FILE5_35"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-8906.json",
"vanir_signatures": [
{
"id": "CVE-2019-8906-62c7b43b",
"digest": {
"length": 3326,
"function_hash": "50134300944515749486679894215678025456"
},
"source": "https://github.com/file/file/commit/2858eaf99f6cc5aae129bcbf1e24ad160240185f",
"target": {
"file": "src/readelf.c",
"function": "do_core_note"
},
"deprecated": false,
"signature_type": "Function",
"signature_version": "v1"
},
{
"id": "CVE-2019-8906-f339bc00",
"digest": {
"threshold": 0.9,
"line_hashes": [
"333164384304000014939969775433987025057",
"305247237807722948317776446743530876769",
"251035260985686906017783394955669487551",
"334815268474935935102152633450803886526",
"118413130556114706998516904846100232",
"317474704739742838936164869212100976187",
"100801867789909417053187722427126381463"
]
},
"source": "https://github.com/file/file/commit/2858eaf99f6cc5aae129bcbf1e24ad160240185f",
"target": {
"file": "src/readelf.c"
},
"deprecated": false,
"signature_type": "Line",
"signature_version": "v1"
}
],
"vanir_signatures_modified": "2026-10-20T13:48:17Z"
}
}
],
"modified": "2026-10-20T13:48:17.593936287Z",
"provider": "osv",
"references": [
"https://support.apple.com/kb/HT209599",
"https://support.apple.com/kb/HT209600",
"https://support.apple.com/kb/HT209601",
"https://support.apple.com/kb/HT209602",
"https://usn.ubuntu.com/3911-1/",
"https://bugs.astron.com/view.php?id=64",
"https://github.com/file/file/commit/2858eaf99f6cc5aae129bcbf1e24ad160240185f"
],
"provider_metadata": {
"unresolved_ranges": [
{
"cpes": [
"cpe:2.3:o:apple:iphone_os:*:*:*:*:*:*:*:*"
],
"vendor_product": "apple:iphone_os",
"extracted_events": [
{
"range": [
{
"fixed": "12.2"
}
],
"source": "CPE_RANGE"
}
]
},
{
"cpes": [
"cpe:2.3:o:apple:mac_os_x:*:*:*:*:*:*:*:*"
],
"vendor_product": "apple:mac_os_x",
"extracted_events": [
{
"range": [
{
"fixed": "10.14.4"
}
],
"source": "CPE_RANGE"
}
]
},
{
"cpes": [
"cpe:2.3:o:apple:tvos:*:*:*:*:*:*:*:*"
],
"vendor_product": "apple:tvos",
"extracted_events": [
{
"range": [
{
"fixed": "12.2"
}
],
"source": "CPE_RANGE"
}
]
},
{
"cpes": [
"cpe:2.3:o:apple:watchos:*:*:*:*:*:*:*:*"
],
"vendor_product": "apple:watchos",
"extracted_events": [
{
"range": [
{
"fixed": "5.2"
}
],
"source": "CPE_RANGE"
}
]
},
{
"cpes": [
"cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*",
"cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*",
"cpe:2.3:o:canonical:ubuntu_linux:18.10:*:*:*:*:*:*:*"
],
"vendor_product": "canonical:ubuntu_linux",
"extracted_events": [
{
"range": [
{
"introduced": "16.04"
},
{
"last_affected": "16.04"
},
{
"introduced": "18.04"
},
{
"last_affected": "18.04"
},
{
"introduced": "18.10"
},
{
"last_affected": "18.10"
}
],
"source": "CPE_STRING"
}
]
},
{
"cpes": [
"cpe:2.3:o:opensuse:leap:15.0:*:*:*:*:*:*:*",
"cpe:2.3:o:opensuse:leap:42.3:*:*:*:*:*:*:*"
],
"vendor_product": "opensuse:leap",
"extracted_events": [
{
"range": [
{
"introduced": "15.0"
},
{
"last_affected": "15.0"
},
{
"introduced": "42.3"
},
{
"last_affected": "42.3"
}
],
"source": "CPE_STRING"
}
]
}
]
}
},
"related_cves": [
{
"value": "CVE-2019-8906",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 388244,
"published_at": "2019-02-18T17:29:01.033+00:00"
}