Skip to content
OpenAdvisories
Unscored CVE-2016-4302 EUVD-2016-5302GHSA-xxc5-v9q5-vjpj

Heap-based buffer overflow in the parse_codes function in archive_read_support_format_rar.c in libarchive before 3.2.1 allows remote attack…

Published Sep 21, 2016 · Updated Aug 6, 2024 · Assigned by certcc

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 libarchive 3.2.1-1 —
Debian 13 libarchive 3.2.1-1 —
Debian 12 libarchive 3.2.1-1 —
Debian 8 libarchive 3.1.2-11+deb8u2 DSA-3657-1
Debian 7 libarchive 3.0.4-3+wheezy2 DLA-554-1
ReleasePackageFixed inAdvisory
Ubuntu 16.04 LTS libarchive 3.1.2-11ubuntu0.16.04.2 USN-3033-1
Ubuntu 14.04 LTS libarchive 3.1.2-7ubuntu2.3 USN-3033-1
ReleasePackageFixed inAdvisory
RHEL 7 bsdtar +3 3.1.2-10.el7_2 RHSA-2016:1844
ReleasePackageFixed inAdvisory
SLES 12 SP1 libarchive 3.1.2-22.1 SUSE-SU-2016:1909-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 12 SP1 libarchive 3.1.2-22.1 SUSE-SU-2016:1909-1
ReleasePackageFixed inAdvisory
Alpine v3.4 libarchive 3.2.1-r0 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 7 bsdtar +3 3.1.2-10.el7_2 ELSA-2016-1844

Advisories 6

References