CVE-2020-9308 Memory corruption in n/a

High 8.8 Published Updated

A crafted RAR5 file with a corrupted header causes a segmentation fault in libarchive, potentially allowing denial of service or code execution.

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-2020-9308?

CVE-2020-9308 is a high-severity memory corruption vulnerability in Canonical Ubuntu Linux, published on 20 Feb 2020. 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

archive_read_support_format_rar5.c in libarchive before 3.4.2 attempts to unpack a RAR5 file with an invalid or corrupted header (such as a header size of zero), leading to a SIGSEGV or possibly unspecified other impact.

Weakness: CWE-787

Which versions are affected by CVE-2020-9308?

It affects 3 products.

Products include Canonical Ubuntu Linux, Fedoraproject Fedora, Libarchive Libarchive.

How do I fix CVE-2020-9308?

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-2020-9308 being exploited?

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

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as ALPINE-CVE-2020-9308, DEBIAN-CVE-2020-9308, GHSA-mgg9-26cw-p92x.

Is CVE-2020-9308 in your software?

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

Check your SBOMs for free