Bug 1348770 (CVE-2015-8918) - CVE-2015-8918 libarchive: Overlapping memcpy in CAB parser
Summary: CVE-2015-8918 libarchive: Overlapping memcpy in CAB parser
Keywords:
Status: CLOSED NOTABUG
Alias: CVE-2015-8918
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 1334215
TreeView+ depends on / blocked
 
Reported: 2016-06-22 03:26 UTC by Doran Moppert
Modified: 2019-09-29 13:51 UTC (History)
4 users (show)

Fixed In Version: libarchive 3.2.0
Clone Of:
Environment:
Last Closed: 2016-06-22 03:30:03 UTC
Embargoed:


Attachments (Terms of Use)

Description Doran Moppert 2016-06-22 03:26:15 UTC
Undefined behaviour was discovered in libarchive in the CAB format
parser.  memcpy() was used to move data between two memory segments
that could overlap, leading to potential undefined behaviour on
specially-crafted CAB files.

The vulnerable code was never in a released version; it was introduced
and fixed between v3.1.2 and v3.2.0.

Upstream bug:
    https://github.com/libarchive/libarchive/issues/506

Upstream fix:
    https://github.com/libarchive/libarchive/commit/b6ba560


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