{"id":"CVE-2016-4302","published":"2016-09-21T14:00:00Z","modified":"2024-08-06T00:25:14Z","title":"Heap-based buffer overflow in the parse_codes function in archive_read_support_format_rar.c in libarchive before 3.2.1…","vendor":null,"product":null,"tier":"tail","description":{"text":"Heap-based buffer overflow in the parse_codes function in archive_read_support_format_rar.c in libarchive before 3.2.1 allows remote attackers to execute arbitrary code via a RAR file with a zero-sized dictionary.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.04757,"percentile":0.92097,"provenance":"source"},"cwes":[],"references":[{"url":"http://rhn.redhat.com/errata/RHSA-2016-1844.html","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://www.oracle.com/technetwork/topics/security/linuxbulletinjul2016-3090544.html","tags":["x_refsource_CONFIRM"]},{"url":"http://blog.talosintel.com/2016/06/the-poisoned-archives.html","tags":["x_refsource_MISC"]},{"url":"http://www.talosintel.com/reports/TALOS-2016-0154/","tags":["x_refsource_MISC"]},{"url":"https://github.com/libarchive/libarchive/issues/719","tags":["x_refsource_CONFIRM"]},{"url":"http://www.oracle.com/technetwork/topics/security/bulletinjul2016-3090568.html","tags":["x_refsource_CONFIRM"]},{"url":"http://www.securityfocus.com/bid/91331","tags":["vdb-entry","x_refsource_BID"]},{"url":"http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=1348444","tags":["x_refsource_CONFIRM"]},{"url":"https://security.gentoo.org/glsa/201701-03","tags":["vendor-advisory","x_refsource_GENTOO"]},{"url":"http://www.debian.org/security/2016/dsa-3657","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"https://github.com/libarchive/libarchive/commit/05caadc7eedbef471ac9610809ba683f0c698700","tags":["x_refsource_CONFIRM"]}],"priority":{"score":18.4,"factors":[{"name":"EPSS percentile","points":18.42}]},"summary":{"text":"The flaw is a heap-based buffer overflow in the parse_codes function in archive_read_support_format_rar.c, a component of libarchive before 3.2.1. An attacker can execute arbitrary code by supplying a RAR file with a zero-sized dictionary, requiring only that the crafted file be processed by the vulnerable library.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:12:18Z"},"euvd":{"id":"EUVD-2016-5302","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-cve-2016-4302-family-cve-2016-4302","children":[{"from":"CVE-2016-4302","to":"CVE-2017-14502","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/5562545b5562f6d12a4ef991fae158bf4ccf92b6"],"basis":"shared function","functions":["archive_read"]}]},{"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-2016-4302","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/05caadc7eedbef471ac9610809ba683f0c698700","https://github.com/libarchive/libarchive/commit/bfcfe6f04ed20db2504db8a254d1f40a1d84eb28"],"basis":"shared function","functions":["archive_read"]}]},{"from":"CVE-2016-4302","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/05caadc7eedbef471ac9610809ba683f0c698700","https://github.com/libarchive/libarchive/commit/b8592ecba2f9e451e1f5cb7ab6dcee8b8e7b3f60"],"basis":"shared function","functions":["archive_read"]}]}]}}