CVE-2017-12940 Memory corruption in n/a

Critical 9.8 Published Updated

An out-of-bounds read in the UnRAR library allows attackers to cause denial of service or disclose sensitive information 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-12940?

CVE-2017-12940 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 an out-of-bounds read in the EncodeFileName::Decode call within the Archive::ReadHeader15 function.

Weakness: CWE-125

Which versions are affected by CVE-2017-12940?

It affects 1 product.

Products include Rarlab Unrar.

How do I fix CVE-2017-12940?

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

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

Sources

Also known as DEBIAN-CVE-2017-12940, GHSA-7rmv-8xhh-9hgp, UBUNTU-CVE-2017-12940.

Is CVE-2017-12940 in your software?

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

Check your SBOMs for free