Medium
Security advisory
The mtree bidder in libarchive 3.2.1 does not keep track of line sizes when extending the read-ahead, which allows remote attackers to cause a denial of service (crash) via a crafted file, which triggers an invalid read in the (1) detect_form or (2) bid_entry function in libarchive/archive_read_support_format_mtree.c.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2016-8688
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 12:13 UTC · Revision 1
Source evidence
The mtree bidder in libarchive 3.2.1 does not keep track of line sizes when extending the read-ahead, which allows remote attackers to cause a denial of service (crash) via a crafted file, which triggers an invalid read in the (1) detect_form or (2) bid_entry function in libarchive/archive_read_support_format_mtree.c.
osv:CVE-2016-8688
Complete source record
{
"id": "51fc006e5573436eb8302fc603aefaf6c62f9f1547113cce6b8b82a52fdff086",
"url": "https://osv.dev/vulnerability/CVE-2016-8688",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2016-8688",
"summary": "The mtree bidder in libarchive 3.2.1 does not keep track of line sizes when extending the read-ahead, which allows remote attackers to cause a denial of service (crash) via a crafted file, which triggers an invalid read in the (1) detect_form or (2) bid_entry function in libarchive/archive_read_support_format_mtree.c.",
"evidence": "osv:CVE-2016-8688",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2016-8688",
"aliases": [
"CVE-2016-8688"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/libarchive/libarchive",
"type": "GIT",
"events": [
{
"introduced": "139d0576b51a253732a5ab1f66805dffbf8b00af"
},
{
"last_affected": "139d0576b51a253732a5ab1f66805dffbf8b00af"
},
{
"fixed": "eec077f52bfa2d3f7103b4b74d52572ba8a15aca"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:libarchive:libarchive:3.2.1:*:*:*:*:*:*:*",
"range": [
{
"introduced": "3.2.1"
},
{
"last_affected": "3.2.1"
}
],
"source": "CPE_STRING"
},
{
"range": [
{
"fixed": "eec077f52bfa2d3f7103b4b74d52572ba8a15aca"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"3.2.1",
"v3.2.1"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2016-8688.json",
"vanir_signatures": [
{
"id": "CVE-2016-8688-32674c9e",
"digest": {
"length": 769,
"function_hash": "223740311993473210139103012324376062846"
},
"source": "https://github.com/libarchive/libarchive/commit/eec077f52bfa2d3f7103b4b74d52572ba8a15aca",
"target": {
"file": "libarchive/archive_read_support_format_mtree.c",
"function": "next_line"
},
"deprecated": false,
"signature_type": "Function",
"signature_version": "v1"
},
{
"id": "CVE-2016-8688-b0001ac3",
"digest": {
"threshold": 0.9,
"line_hashes": [
"49533266774681543131039842645057671075",
"321939831539605999812602556020703905102",
"86327894471780845113511688328954627230",
"195140934946345616962134847248004045130",
"216781037651015841101945166112837526521",
"108166397868030482561271342092105106413",
"188419350599359671913867752680796738459"
]
},
"source": "https://github.com/libarchive/libarchive/commit/eec077f52bfa2d3f7103b4b74d52572ba8a15aca",
"target": {
"file": "libarchive/archive_read_support_format_mtree.c"
},
"deprecated": false,
"signature_type": "Line",
"signature_version": "v1"
}
],
"vanir_signatures_modified": "2026-10-20T13:22:47Z"
}
}
],
"modified": "2026-10-20T13:22:47.381514757Z",
"provider": "osv",
"references": [
"https://lists.debian.org/debian-lts-announce/2018/11/msg00037.html",
"https://blogs.gentoo.org/ago/2016/09/11/libarchive-bsdtar-heap-based-buffer-overflow-in-bid_entry-archive_read_support_format_mtree-c/",
"https://blogs.gentoo.org/ago/2016/09/11/libarchive-bsdtar-heap-based-buffer-overflow-in-detect_form-archive_read_support_format_mtree-c/",
"https://blogs.gentoo.org/ago/2016/09/11/libarchive-bsdtar-memory-corruptionunknown-crash-in-bid_entry-archive_read_support_format_mtree-c/",
"https://blogs.gentoo.org/ago/2016/09/11/libarchive-bsdtar-use-after-free-in-bid_entry-archive_read_support_format_mtree-c/",
"https://blogs.gentoo.org/ago/2016/09/11/libarchive-bsdtar-use-after-free-in-detect_form-archive_read_support_format_mtree-c/",
"https://bugzilla.redhat.com/show_bug.cgi?id=1377923",
"https://github.com/libarchive/libarchive/commit/eec077f52bfa2d3f7103b4b74d52572ba8a15aca",
"https://security.gentoo.org/glsa/201701-03"
],
"provider_metadata": {
"unresolved_ranges": [
{
"cpes": [
"cpe:2.3:o:opensuse:leap:42.2:*:*:*:*:*:*:*"
],
"vendor_product": "opensuse:leap",
"extracted_events": [
{
"range": [
{
"introduced": "42.2"
},
{
"last_affected": "42.2"
}
],
"source": "CPE_STRING"
}
]
}
]
}
},
"related_cves": [
{
"value": "CVE-2016-8688",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 387594,
"published_at": "2017-02-15T19:59:00.643+00:00"
}