CVE-2018-12034 Memory corruption in n/a

High 7.8 Published Updated

Attackers can cause out-of-bounds reads and potential crashes or data leaks by providing a malicious compiled rule file to YARA.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2018-12034?

CVE-2018-12034 is a high-severity memory corruption vulnerability in n/a, published on 15 Jun 2018. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

In YARA 3.7.1 and prior, parsing a specially crafted compiled rule file can cause an out of bounds read vulnerability in yr_execute_code in libyara/exec.c.

Weakness: CWE-125

Which versions are affected by CVE-2018-12034?

It affects 1 product.

Products include Virustotal Yara.

How do I fix CVE-2018-12034?

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-2018-12034 being exploited?

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

Sources

Also known as DEBIAN-CVE-2018-12034, GHSA-8929-jmq3-999x, UBUNTU-CVE-2018-12034.

Is CVE-2018-12034 in your software?

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

Check your SBOMs for free