cve.bz

CVE-2016-4302

7.8 highExploit referenceEPSS 4.8%Fix available

High (7.8). EPSS 4.8% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.0

7.8 high
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS
4.8% (unchanged from 4.8% a week ago; 4.8% 30 days ago) estimated probability of exploitation activity in the next 30 days; 92nd percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2016-4302 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2016-4302?via=ask-ai-copy and https://cve.bz/cve/CVE-2016-4302?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2016-4302 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
redhat:enterprise_linux_desktop7.0
redhat:enterprise_linux_hpc_node7.0
redhat:enterprise_linux_hpc_node_eus7.2
redhat:enterprise_linux_server7.0
redhat:enterprise_linux_server_aus7.2
redhat:enterprise_linux_server_eus7.2
redhat:enterprise_linux_workstation7.0
libarchive:libarchivethrough 3.2.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian7libarchive3.0.4-3+wheezy2DLA-554-1
Debian8libarchive3.1.2-11+deb8u2DSA-3657-1
Debian12, 13, 14libarchive3.2.1-1DEBIAN-CVE-2016-4302
Ubuntu14.04:LTSlibarchive3.1.2-7ubuntu2.3UBUNTU-CVE-2016-4302 USN-3033-1
Ubuntu16.04:LTSlibarchive3.1.2-11ubuntu0.16.04.2UBUNTU-CVE-2016-4302 USN-3033-1
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::server and 1 morebsdtar, bsdcpio, libarchive and 2 more0:3.1.2-10.el7_2RHSA-2016:1844
SUSELinux Enterprise Desktop 12 SP1, Linux Enterprise Server 12 SP1, Linux Enterprise Server for SAP Applications 12 SP1 and 1 morelibarchive3.1.2-22.1SUSE-SU-2016:1909-1
Alpinev3.4libarchive3.2.1-r0ALPINE-CVE-2016-4302

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 7libarchive-0:3.1.2-10.el7_2Fixed 2016-09-12RHSA-2016:1844
Red Hat Enterprise Linux 6libarchiveNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2016-4302.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-119 (12).

References

Check your stackJSON