Bug 1348429 (CVE-2015-8928) - CVE-2015-8928 libarchive: Heap out of bounds read in mtree parser
Summary: CVE-2015-8928 libarchive: Heap out of bounds read in mtree parser
Alias: CVE-2015-8928
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
Depends On: 1352776 1353065 1353066
Blocks: 1334215
TreeView+ depends on / blocked
Reported: 2016-06-21 07:14 UTC by Doran Moppert
Modified: 2019-09-29 13:51 UTC (History)
4 users (show)

Fixed In Version: libarchive 3.2.0
Doc Type: Bug Fix
Doc Text:
A vulnerability was found in libarchive. A specially crafted MTREE file could cause a limited out-of-bounds read, potentially disclosing contents of application memory.
Clone Of:
Last Closed: 2016-10-18 04:58:42 UTC

Attachments (Terms of Use)

System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2016:1844 0 normal SHIPPED_LIVE Important: libarchive security update 2016-09-13 00:11:35 UTC

Description Doran Moppert 2016-06-21 07:14:42 UTC
Upstream bug:

Upstream fix:

> The mtree parser scanned from the end of the string to identify
> the filename when the filename is the last element of the line.
> If the filename was the entire line, the logic would scan back
> to before the start of the string.

libarchive-2.8 does not include support for this mtree variant.

Comment 2 Doran Moppert 2016-07-05 04:37:42 UTC
Created libarchive tracking bugs for this issue:

Affects: fedora-all [bug 1352776]

Comment 5 errata-xmlrpc 2016-09-12 20:14:11 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2016:1844 https://rhn.redhat.com/errata/RHSA-2016-1844.html

Note You need to log in before you can comment on or make changes to this bug.