CVE-2016-4302
publishedlibarchive: Heap buffer overflow in the Rar decompression functionality
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | certcc |
| Alpine Linux | v3.4 | libarchive | Fixed | 3.2.1-r0 | Package fix record |
| Debian | jessie | libarchive | Advisory build | 3.1.2-11+deb8u2 | DSA-3657-1 |
| Oracle Linux | 7 | bsdcpioaarch64 | Advisory build | 0:3.1.2-10.el7_2 | ELSA-2016-1844 |
| Red Hat Enterprise Linux | RHEL-7 | bsdcpioppc64 | Advisory build | 3.1.2-10.el7_2 | RHSA-2016:1844 |
| SUSE / openSUSE | SLE-12-SP1 | libarchive-develppc64le | Advisory build | 3.1.2-22.1 | SUSE-SU-2016:1909-1 |
| Ubuntu | trusty | bsdcpio | Advisory build | 3.1.2-7ubuntu2.3 | USN-3033-1 |
| Debian | wheezy | libarchive | Advisory build | 3.0.4-3+wheezy2 | DLA-554-1 |
Show 48 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Oracle Linux | 7 | bsdcpiox86_64 | Advisory build | 0:3.1.2-10.el7_2 | ELSA-2016-1844 |
| Oracle Linux | 7 | bsdtaraarch64 | Advisory build | 0:3.1.2-10.el7_2 | ELSA-2016-1844 |
| Oracle Linux | 7 | bsdtarx86_64 | Advisory build | 0:3.1.2-10.el7_2 | ELSA-2016-1844 |
| Oracle Linux | 7 | libarchiveaarch64 | Advisory build | 0:3.1.2-10.el7_2 | ELSA-2016-1844 |
| Oracle Linux | 7 | libarchivex86_64 | Advisory build | 0:3.1.2-10.el7_2 | ELSA-2016-1844 |
| Oracle Linux | 7 | libarchive-develaarch64 | Advisory build | 0:3.1.2-10.el7_2 | ELSA-2016-1844 |
| Oracle Linux | 7 | libarchive-develx86_64 | Advisory build | 0:3.1.2-10.el7_2 | ELSA-2016-1844 |
| Red Hat Enterprise Linux | RHEL-7 | bsdcpioppc64le | Advisory build | 3.1.2-10.el7_2 | RHSA-2016:1844 |
| Red Hat Enterprise Linux | RHEL-7 | bsdcpios390x | Advisory build | 3.1.2-10.el7_2 | RHSA-2016:1844 |
| Red Hat Enterprise Linux | RHEL-7 | bsdcpiox86_64 | Advisory build | 3.1.2-10.el7_2 | RHSA-2016:1844 |
| Red Hat Enterprise Linux | RHEL-7 | bsdtarppc64 | Advisory build | 3.1.2-10.el7_2 | RHSA-2016:1844 |
| Red Hat Enterprise Linux | RHEL-7 | bsdtarppc64le | Advisory build | 3.1.2-10.el7_2 | RHSA-2016:1844 |
| Red Hat Enterprise Linux | RHEL-7 | bsdtars390x | Advisory build | 3.1.2-10.el7_2 | RHSA-2016:1844 |
| Red Hat Enterprise Linux | RHEL-7 | bsdtarx86_64 | Advisory build | 3.1.2-10.el7_2 | RHSA-2016:1844 |
| Red Hat Enterprise Linux | RHEL-7 | libarchivei686 | Advisory build | 3.1.2-10.el7_2 | RHSA-2016:1844 |
| Red Hat Enterprise Linux | RHEL-7 | libarchiveppc | Advisory build | 3.1.2-10.el7_2 | RHSA-2016:1844 |
| Red Hat Enterprise Linux | RHEL-7 | libarchiveppc64 | Advisory build | 3.1.2-10.el7_2 | RHSA-2016:1844 |
| Red Hat Enterprise Linux | RHEL-7 | libarchiveppc64le | Advisory build | 3.1.2-10.el7_2 | RHSA-2016:1844 |
| Red Hat Enterprise Linux | RHEL-7 | libarchives390 | Advisory build | 3.1.2-10.el7_2 | RHSA-2016:1844 |
| Red Hat Enterprise Linux | RHEL-7 | libarchives390x | Advisory build | 3.1.2-10.el7_2 | RHSA-2016:1844 |
| Red Hat Enterprise Linux | RHEL-7 | libarchivesrc | Advisory build | 3.1.2-10.el7_2 | RHSA-2016:1844 |
| Red Hat Enterprise Linux | RHEL-7 | libarchivex86_64 | Advisory build | 3.1.2-10.el7_2 | RHSA-2016:1844 |
| Red Hat Enterprise Linux | RHEL-7 | libarchive-debuginfoi686 | Advisory build | 3.1.2-10.el7_2 | RHSA-2016:1844 |
| Red Hat Enterprise Linux | RHEL-7 | libarchive-debuginfoppc | Advisory build | 3.1.2-10.el7_2 | RHSA-2016:1844 |
| Red Hat Enterprise Linux | RHEL-7 | libarchive-debuginfoppc64 | Advisory build | 3.1.2-10.el7_2 | RHSA-2016:1844 |
| Red Hat Enterprise Linux | RHEL-7 | libarchive-debuginfoppc64le | Advisory build | 3.1.2-10.el7_2 | RHSA-2016:1844 |
| Red Hat Enterprise Linux | RHEL-7 | libarchive-debuginfos390 | Advisory build | 3.1.2-10.el7_2 | RHSA-2016:1844 |
| Red Hat Enterprise Linux | RHEL-7 | libarchive-debuginfos390x | Advisory build | 3.1.2-10.el7_2 | RHSA-2016:1844 |
| Red Hat Enterprise Linux | RHEL-7 | libarchive-debuginfox86_64 | Advisory build | 3.1.2-10.el7_2 | RHSA-2016:1844 |
| Red Hat Enterprise Linux | RHEL-7 | libarchive-develi686 | Advisory build | 3.1.2-10.el7_2 | RHSA-2016:1844 |
| Red Hat Enterprise Linux | RHEL-7 | libarchive-develppc | Advisory build | 3.1.2-10.el7_2 | RHSA-2016:1844 |
| Red Hat Enterprise Linux | RHEL-7 | libarchive-develppc64 | Advisory build | 3.1.2-10.el7_2 | RHSA-2016:1844 |
| Red Hat Enterprise Linux | RHEL-7 | libarchive-develppc64le | Advisory build | 3.1.2-10.el7_2 | RHSA-2016:1844 |
| Red Hat Enterprise Linux | RHEL-7 | libarchive-devels390 | Advisory build | 3.1.2-10.el7_2 | RHSA-2016:1844 |
| Red Hat Enterprise Linux | RHEL-7 | libarchive-devels390x | Advisory build | 3.1.2-10.el7_2 | RHSA-2016:1844 |
| Red Hat Enterprise Linux | RHEL-7 | libarchive-develx86_64 | Advisory build | 3.1.2-10.el7_2 | RHSA-2016:1844 |
| SUSE / openSUSE | SLE-12-SP1 | libarchive-devels390x | Advisory build | 3.1.2-22.1 | SUSE-SU-2016:1909-1 |
| SUSE / openSUSE | SLE-12-SP1 | libarchive-develx86_64 | Advisory build | 3.1.2-22.1 | SUSE-SU-2016:1909-1 |
| SUSE / openSUSE | SLE-12-SP1 | libarchive13ppc64le | Advisory build | 3.1.2-22.1 | SUSE-SU-2016:1909-1 |
| SUSE / openSUSE | SLE-12-SP1 | libarchive13s390x | Advisory build | 3.1.2-22.1 | SUSE-SU-2016:1909-1 |
| SUSE / openSUSE | SLE-12-SP1 | libarchive13x86_64 | Advisory build | 3.1.2-22.1 | SUSE-SU-2016:1909-1 |
| Ubuntu | trusty | bsdtar | Advisory build | 3.1.2-7ubuntu2.3 | USN-3033-1 |
| Ubuntu | trusty | libarchive | Advisory build | 3.1.2-7ubuntu2.3 | USN-3033-1 |
| Ubuntu | trusty | libarchive13 | Advisory build | 3.1.2-7ubuntu2.3 | USN-3033-1 |
| Ubuntu | xenial | bsdcpio | Advisory build | 3.1.2-11ubuntu0.16.04.2 | USN-3033-1 |
| Ubuntu | xenial | bsdtar | Advisory build | 3.1.2-11ubuntu0.16.04.2 | USN-3033-1 |
| Ubuntu | xenial | libarchive | Advisory build | 3.1.2-11ubuntu0.16.04.2 | USN-3033-1 |
| Ubuntu | xenial | libarchive13 | Advisory build | 3.1.2-11ubuntu0.16.04.2 | USN-3033-1 |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | certcc · cna |
Weaknesses
1- n/a
References
11- http://blog.talosintel.com/2016/06/the-poisoned-archives.html
- http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=1348444
- RHSA-2016:1844 http://rhn.redhat.com/errata/RHSA-2016-1844.html
- DSA-3657 http://www.debian.org/security/2016/dsa-3657
- http://www.oracle.com/technetwork/topics/security/bulletinjul2016-3090568.html
- http://www.oracle.com/technetwork/topics/security/linuxbulletinjul2016-3090544.html
- 91331 http://www.securityfocus.com/bid/91331
- http://www.talosintel.com/reports/TALOS-2016-0154/
- https://github.com/libarchive/libarchive/commit/05caadc7eedbef471ac9610809ba683f0c698700
- https://github.com/libarchive/libarchive/issues/719
- GLSA-201701-03 https://security.gentoo.org/glsa/201701-03
Provider assertions
2certcc · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- df97282fb6b934fe2590d75076af66fe9f7cd489a7a535c875f77a6ebb7e68c0
- Ingested
- 23 Sep 2026, 07:41:18 UTC
- Source record
- Official CVE record