CVE-2017-14502 Memory corruption in n/a

High 7.5 Published Updated

An off-by-one error in libarchive's RAR parser allows out-of-bounds reads, potentially causing crashes or information disclosure.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2017-14502?

CVE-2017-14502 is a high-severity memory corruption vulnerability in Libarchive Libarchive, published on 17 Sep 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

read_header in archive_read_support_format_rar.c in libarchive 3.3.2 suffers from an off-by-one error for UTF-16 names in RAR archives, leading to an out-of-bounds read in archive_read_format_rar_read_header.

Weakness: CWE-193, CWE-125

Which versions are affected by CVE-2017-14502?

It affects 1 product.

Linux distribution packages (1)
libarchive-devel AlmaLinux:8All versions3.3.3-1.el8

Products include Libarchive Libarchive.

How do I fix CVE-2017-14502?

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-2017-14502 being exploited?

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

All Libarchive Libarchive vulnerabilities

Sources

Also known as ALEA-2021:1580, ALPINE-CVE-2017-14502, DEBIAN-CVE-2017-14502, GHSA-w2pg-4hrq-9q8x, UBUNTU-CVE-2017-14502.

Is CVE-2017-14502 in your software?

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

Check your SBOMs for free