High
Security advisory
do_bid_note in readelf.c in libmagic.a in file 5.35 has a stack-based buffer over-read, related to file_printf and file_vprintf.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2019-8904
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 08:07 UTC · Revision 1
Source evidence
do_bid_note in readelf.c in libmagic.a in file 5.35 has a stack-based buffer over-read, related to file_printf and file_vprintf.
osv:CVE-2019-8904
Complete source record
{
"id": "cff73a654941e1ae125ad485c0655edb206dc54b17405836f8180ad82c9aa76b",
"url": "https://osv.dev/vulnerability/CVE-2019-8904",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2019-8904",
"summary": "do_bid_note in readelf.c in libmagic.a in file 5.35 has a stack-based buffer over-read, related to file_printf and file_vprintf.",
"evidence": "osv:CVE-2019-8904",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2019-8904",
"aliases": [
"CVE-2019-8904"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/file/file",
"type": "GIT",
"events": [
{
"introduced": "d1ff3af7a2c6b38bdbdde7af26b59e3c50a48fff"
},
{
"last_affected": "d1ff3af7a2c6b38bdbdde7af26b59e3c50a48fff"
}
],
"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"
}
]
}
}
],
"versions": [
"5.35",
"FILE5_35"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-8904.json"
}
}
],
"modified": "2026-10-24T10:31:03.147715378Z",
"provider": "osv",
"references": [
"https://usn.ubuntu.com/3911-1/",
"https://bugs.astron.com/view.php?id=62"
],
"provider_metadata": {
"unresolved_ranges": [
{
"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"
}
]
}
]
}
},
"related_cves": [
{
"value": "CVE-2019-8904",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 440193,
"published_at": "2019-02-18T17:29:00.94+00:00"
}