CVE-2018-12035 Memory corruption in n/a
An out-of-bounds write in YARA allows attackers to execute arbitrary code or cause denial of service via crafted rule files.
- 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-12035?
CVE-2018-12035 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 write vulnerability in yr_execute_code in libyara/exec.c.
Weakness: CWE-787
Which versions are affected by CVE-2018-12035?
It affects 1 product.
Products include Virustotal Yara.
How do I fix CVE-2018-12035?
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-12035 being exploited?
There is no known exploitation of CVE-2018-12035 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as DEBIAN-CVE-2018-12035, GHSA-f8gv-jwf8-mm4p, UBUNTU-CVE-2018-12035.