CVE-2017-12942 Memory corruption in n/a

Critical 9.8 Published Updated

A buffer overflow in the UnRAR library allows attackers to execute arbitrary code or cause denial of service via crafted archives.

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-12942?

CVE-2017-12942 is a critical memory corruption vulnerability in n/a, published on 18 Aug 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

libunrar.a in UnRAR before 5.5.7 has a buffer overflow in the Unpack::LongLZ function.

Weakness: CWE-119

Which versions are affected by CVE-2017-12942?

It affects 1 product.

Products include Rarlab Unrar.

How do I fix CVE-2017-12942?

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-12942 being exploited?

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

Sources

Also known as DEBIAN-CVE-2017-12942, GHSA-6cw7-hrcm-224w, UBUNTU-CVE-2017-12942.

Is CVE-2017-12942 in your software?

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

Check your SBOMs for free