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) detectform or (2) bidentry function in libarchive/archivereadsupportformatmtree.c.
[
{
"source": "https://github.com/libarchive/libarchive/commit/eec077f52bfa2d3f7103b4b74d52572ba8a15aca",
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2016-8688-32674c9e",
"target": {
"function": "next_line",
"file": "libarchive/archive_read_support_format_mtree.c"
},
"signature_type": "Function",
"digest": {
"length": 769.0,
"function_hash": "223740311993473210139103012324376062846"
}
},
{
"source": "https://github.com/libarchive/libarchive/commit/eec077f52bfa2d3f7103b4b74d52572ba8a15aca",
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2016-8688-b0001ac3",
"target": {
"file": "libarchive/archive_read_support_format_mtree.c"
},
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"49533266774681543131039842645057671075",
"321939831539605999812602556020703905102",
"86327894471780845113511688328954627230",
"195140934946345616962134847248004045130",
"216781037651015841101945166112837526521",
"108166397868030482561271342092105106413",
"188419350599359671913867752680796738459"
]
}
}
]