CVE-2016-1541 Memory corruption in n/a

High 8.8 Published Updated

Remote attackers can execute arbitrary code via crafted ZIP archives due to a heap-based buffer overflow in libarchive.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2016-1541?

CVE-2016-1541 is a high-severity memory corruption vulnerability in Libarchive Libarchive, published on 7 May 2016. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

Heap-based buffer overflow in the zip_read_mac_metadata function in archive_read_support_format_zip.c in libarchive before 3.2.0 allows remote attackers to execute arbitrary code via crafted entry-size values in a ZIP archive.

Weakness: CWE-20

Which versions are affected by CVE-2016-1541?

It affects 1 product.

Linux distribution packages (8)
libarchive SUSE:Linux Enterprise Desktop 12All versions3.1.2-12.1
libarchive SUSE:Linux Enterprise Desktop 12 SP1All versions3.1.2-12.1
libarchive SUSE:Linux Enterprise Server 12All versions3.1.2-12.1
libarchive SUSE:Linux Enterprise Server 12 SP1All versions3.1.2-12.1
libarchive SUSE:Linux Enterprise Server for SAP Applications 12All versions3.1.2-12.1
libarchive SUSE:Linux Enterprise Server for SAP Applications 12 SP1All versions3.1.2-12.1
libarchive SUSE:Linux Enterprise Software Development Kit 12All versions3.1.2-12.1
libarchive SUSE:Linux Enterprise Software Development Kit 12 SP1All versions3.1.2-12.1

Products include Libarchive Libarchive.

How do I fix CVE-2016-1541?

Upgrade to a fixed version.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2016-1541 being exploited?

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

All Libarchive Libarchive vulnerabilities

Sources

Also known as ALPINE-CVE-2016-1541, DEBIAN-CVE-2016-1541, DSA-3574-1, GHSA-w2vf-7r3f-2gg2, MGASA-2016-0179, SUSE-SU-2016:1588-1 and 1 more.

Is CVE-2016-1541 in your software?

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

Check your SBOMs for free