libarchive: Heap buffer overflow in the Rar decompression functionality
Published Sep 21, 2016
7.8
HIGHCVSS 3.0
EPSS 4.76%
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.
Affected products
No data.
Configuration 1
- 7.0
- 7.0
- 7.2
- 7.0
- 7.2
- 7.2
- 7.0
Configuration 2
- ≤ 3.2.0
No data.
Red Hat Enterprise Linux 7
libarchive-0:3.1.2-10.el7_2
Fixed · RHSA-2016:1844
Red Hat Enterprise Linux 6
libarchive
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 7 | libarchive-0:3.1.2-10.el7_2 | Fixed | RHSA-2016:1844 |
| Red Hat Enterprise Linux 6 | libarchive | Not affected | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
1 other source (Red Hat) ▾
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:L
AV:N/AC:M/Au:N/C:P/I:P/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (20 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 4.76% (0.04757) | 91.61th | v5 (v2026.06.15) |
| Sep 22, 2026 | 4.76% (0.04757) | 91.48th | v5 (v2026.06.15) |
| Sep 21, 2026 | 7.94% (0.07937) | 94.56th | v5 (v2026.06.15) |
| Sep 6, 2026 | 4.76% (0.04757) | 91.30th | v5 (v2026.06.15) |
| Sep 5, 2026 | 7.94% (0.07937) | 94.44th | v5 (v2026.06.15) |
| Aug 30, 2026 | 4.76% (0.04757) | 91.25th | v5 (v2026.06.15) |
| Aug 28, 2026 | 7.94% (0.07937) | 94.40th | v5 (v2026.06.15) |
| Aug 24, 2026 | 4.76% (0.04757) | 91.20th | v5 (v2026.06.15) |
| Aug 23, 2026 | 7.94% (0.07937) | 94.38th | v5 (v2026.06.15) |
| Jun 15, 2026 | 4.78% (0.04775) | 90.73th | v5 (v2026.06.15) |
| Nov 16, 2025 | 0.76% (0.00758) | 72.49th | v4 (v2025.03.14) |
| Mar 17, 2025 | 3.14% (0.03141) | 86.00th | v4 (v2025.03.14) |
| Dec 12, 2024 | 1.37% (0.01369) | 86.83th | v3 (v2023.03.01) |
| May 9, 2024 | 1.37% (0.01369) | 86.19th | v3 (v2023.03.01) |
| May 3, 2024 | 1.26% (0.01261) | 85.50th | v3 (v2023.03.01) |
| Mar 7, 2023 | 1.26% (0.01261) | 83.46th | v3 (v2023.03.01) |
| Mar 6, 2023 | 8.83% (0.08830) | 93.97th | v2 (v2022.01.01) |
| Aug 2, 2022 | 8.83% (0.08830) | 93.66th | v2 (v2022.01.01) |
| Apr 1, 2022 | 7.87% (0.07871) | 92.62th | v2 (v2022.01.01) |
| Feb 4, 2022 | 7.87% (0.07871) | 81.58th | v2 (v2022.01.01) |
References (15)
- http://blog.talosintel.com/2016/06/the-poisoned-archives.html x_refsource_MISCExploitThird Party Advisory
- http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=1348444 x_refsource_CONFIRMIssue Tracking
- http://rhn.redhat.com/errata/RHSA-2016-1844.html vendor-advisoryx_refsource_REDHATThird Party Advisory
- http://www.debian.org/security/2016/dsa-3657 vendor-advisoryx_refsource_DEBIAN
- http://www.oracle.com/technetwork/topics/security/bulletinjul2016-3090568.html x_refsource_CONFIRM
- http://www.oracle.com/technetwork/topics/security/linuxbulletinjul2016-3090544.html x_refsource_CONFIRM
- http://www.securityfocus.com/bid/91331 vdb-entryx_refsource_BIDThird Party AdvisoryVDB Entry
- http://www.talosintel.com/reports/TALOS-2016-0154/ x_refsource_MISCExploitThird Party Advisory
- https://access.redhat.com/security/cve/CVE-2016-4302 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1348444 Issue Tracking
- https://github.com/libarchive/libarchive/commit/05caadc7eedbef471ac9610809ba683f0c698700 x_refsource_CONFIRMIssue TrackingPatch
- https://github.com/libarchive/libarchive/issues/719 x_refsource_CONFIRMIssue TrackingPatch
- https://nvd.nist.gov/vuln/detail/CVE-2016-4302
- https://security.gentoo.org/glsa/201701-03 vendor-advisoryx_refsource_GENTOO
- https://www.cve.org/CVERecord?id=CVE-2016-4302
Change history (0)
No recorded changes yet.