CVE-2016-8688

Source
https://nvd.nist.gov/vuln/detail/CVE-2016-8688
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2016-8688.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2016-8688
Downstream
Related
Published
2017-02-15T19:59:00Z
Modified
2025-10-15T08:26:49.279363Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Git / github.com/libarchive/libarchive

Affected ranges

Type
GIT
Repo
https://github.com/libarchive/libarchive
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

v2.*

v2.6.0
v2.6.1
v2.6.2
v2.7.0
v2.7.1
v2.8.0
v2.8.1
v2.8.2
v2.8.3
v2.8.4
v2.8.5

v3.*

v3.0.0a
v3.0.1b
v3.0.2
v3.0.3
v3.0.4
v3.1.0
v3.1.1
v3.1.2
v3.1.900a
v3.1.901a
v3.2.0
v3.2.1

Database specific

vanir_signatures

[
    {
        "deprecated": false,
        "digest": {
            "length": 769.0,
            "function_hash": "223740311993473210139103012324376062846"
        },
        "signature_type": "Function",
        "target": {
            "file": "libarchive/archive_read_support_format_mtree.c",
            "function": "next_line"
        },
        "source": "https://github.com/libarchive/libarchive/commit/eec077f52bfa2d3f7103b4b74d52572ba8a15aca",
        "id": "CVE-2016-8688-32674c9e",
        "signature_version": "v1"
    },
    {
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "49533266774681543131039842645057671075",
                "321939831539605999812602556020703905102",
                "86327894471780845113511688328954627230",
                "195140934946345616962134847248004045130",
                "216781037651015841101945166112837526521",
                "108166397868030482561271342092105106413",
                "188419350599359671913867752680796738459"
            ],
            "threshold": 0.9
        },
        "signature_type": "Line",
        "target": {
            "file": "libarchive/archive_read_support_format_mtree.c"
        },
        "source": "https://github.com/libarchive/libarchive/commit/eec077f52bfa2d3f7103b4b74d52572ba8a15aca",
        "id": "CVE-2016-8688-b0001ac3",
        "signature_version": "v1"
    }
]