CVE-2016-4300 Integer overflow in n/a

High 7.8 Published Updated

Remote attackers can execute arbitrary code via a crafted 7zip file due to an integer overflow leading to heap corruption in libarchive.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2016-4300?

CVE-2016-4300 is a high-severity vulnerability in Libarchive Libarchive, published on 21 Sep 2016. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

Integer overflow in the read_SubStreamsInfo function in archive_read_support_format_7zip.c in libarchive before 3.2.1 allows remote attackers to execute arbitrary code via a 7zip file with a large number of substreams, which triggers a heap-based buffer overflow.

Weakness: CWE-190

Which versions are affected by CVE-2016-4300?

It affects 8 products.

Products include Libarchive Libarchive, Redhat Enterprise Linux Desktop, Redhat Enterprise Linux Hpc Node, Redhat Enterprise Linux Hpc Node Eus, Redhat Enterprise Linux Server, Redhat Enterprise Linux Server Aus and 2 more.

How do I fix CVE-2016-4300?

Upgrade to a fixed version.

Is CVE-2016-4300 being exploited?

There is no known exploitation of CVE-2016-4300 in the wild and no public exploit code.

All Libarchive Libarchive vulnerabilities

Sources

Also known as ALPINE-CVE-2016-4300, DEBIAN-CVE-2016-4300, GHSA-6qg7-x2gx-6jfr, UBUNTU-CVE-2016-4300.

Is CVE-2016-4300 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free