{"id":"CVE-2018-1000877","published":"2018-12-20T17:00:00Z","modified":"2024-08-05T12:47:57Z","title":"libarchive version commit 416694915449219d505531b1096384f3237dd6cc onwards (release v3.1.0 onwards) contains a…","vendor":null,"product":null,"tier":"tail","description":{"text":"libarchive version commit 416694915449219d505531b1096384f3237dd6cc onwards (release v3.1.0 onwards) contains a CWE-415: Double Free vulnerability in RAR decoder - libarchive/archive_read_support_format_rar.c, parse_codes(), realloc(rar->lzss.window, new_size) with new_size = 0 that can result in Crash/DoS. This attack appear to be exploitable via the victim must open a specially crafted RAR archive.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.04575,"percentile":0.91836,"provenance":"source"},"cwes":[],"references":[{"url":"https://usn.ubuntu.com/3859-1/","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"https://lists.debian.org/debian-lts-announce/2018/12/msg00011.html","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://bugs.launchpad.net/ubuntu/+source/libarchive/+bug/1794909","tags":["x_refsource_MISC"]},{"url":"https://www.debian.org/security/2018/dsa-4360","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"https://github.com/libarchive/libarchive/pull/1105/commits/021efa522ad729ff0f5806c4ce53e4a6cc1daa31","tags":["x_refsource_MISC"]},{"url":"https://github.com/libarchive/libarchive/pull/1105","tags":["x_refsource_MISC"]},{"url":"http://www.securityfocus.com/bid/106324","tags":["vdb-entry","x_refsource_BID"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZVXA7PHINVT6DFF6PRLTDTVTXKDLVHNF/","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/W645KCLWFDBDGFJHG57WOVXGE62QSIJI/","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CBOCC2M6YGPZA6US43YK4INPSJZZHRTG/","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00055.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"https://access.redhat.com/errata/RHSA-2019:2298","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2019:3698","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-12/msg00012.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-12/msg00015.html","tags":["vendor-advisory","x_refsource_SUSE"]}],"priority":{"score":18.4,"factors":[{"name":"EPSS percentile","points":18.37}]},"summary":{"text":"The libarchive RAR decoder, in the parse_codes() function of archive_read_support_format_rar.c, contains a double free flaw from version commit 416694915449219d505531b1096384f3237dd6cc onwards (release v3.1.0 onwards), where a realloc call on the LZSS window is made with a new size of zero. An attacker can cause a crash or denial of service by getting a victim to open a specially crafted RAR archive, which appears to require user interaction and no network access or authentication.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:16:48Z"},"euvd":{"id":"EUVD-2018-2054","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-cve-2016-4302-family-cve-2016-4302","parents":[{"from":"CVE-2016-4302","to":"CVE-2018-1000877","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["libarchive/archive_read_support_format_rar.c"],"commits":["https://github.com/libarchive/libarchive/commit/05caadc7eedbef471ac9610809ba683f0c698700","https://github.com/libarchive/libarchive/commit/021efa522ad729ff0f5806c4ce53e4a6cc1daa31"],"basis":"shared function","functions":["archive_read"]}]},{"from":"CVE-2017-14502","to":"CVE-2018-1000877","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["libarchive/archive_read_support_format_rar.c"],"commits":["https://github.com/libarchive/libarchive/commit/5562545b5562f6d12a4ef991fae158bf4ccf92b6","https://github.com/libarchive/libarchive/commit/021efa522ad729ff0f5806c4ce53e4a6cc1daa31"],"basis":"shared function","functions":["archive_read"]}]}],"children":[{"from":"CVE-2018-1000877","to":"CVE-2018-1000878","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["libarchive/archive_read_support_format_rar.c"],"commits":["https://github.com/libarchive/libarchive/commit/021efa522ad729ff0f5806c4ce53e4a6cc1daa31","https://github.com/libarchive/libarchive/commit/bfcfe6f04ed20db2504db8a254d1f40a1d84eb28"],"basis":"shared function","functions":["archive_read"]}]},{"from":"CVE-2018-1000877","to":"CVE-2019-18408","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["libarchive/archive_read_support_format_rar.c"],"commits":["https://github.com/libarchive/libarchive/commit/021efa522ad729ff0f5806c4ce53e4a6cc1daa31","https://github.com/libarchive/libarchive/commit/b8592ecba2f9e451e1f5cb7ab6dcee8b8e7b3f60"],"basis":"shared function","functions":["archive_read"]}]}]}}