CVE-2018-12034
In YARA 3.7.1 and prior, parsing a specially crafted compiled rule file can cause an out of...
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.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
7.8
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.
- Record
CVE-2018-12034- CVSS 3.0
- 7.8 High
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - CVSS 2.0
- 6.8 Medium
AV:N/AC:M/Au:N/C:P/I:P/A:P - Weakness
- CWE-125
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2018-12034- Updated
- 2026-11-02
EUVDEUVD-2018-4018 No score
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.
- Record
EUVD-2018-4018- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-8929-jmq3-999x
7.8
In YARA 3.7.1 and prior, parsing a specially crafted compiled rule file can cause an out of...
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.
- Record
GHSA-8929-jmq3-999x- CVSS 3.0
- 7.8 High
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Weakness
- CWE-125
- Updated
- 2026-11-02
OSV
7.8
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.
- Record
CVE-2018-12034- CVSS 3.0
- 7.8 High
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2018-12034
7.8
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.
- Record
DEBIAN-CVE-2018-12034- CVSS 3.0
- 7.8 High
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2018-12034
7.8
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.
- Record
UBUNTU-CVE-2018-12034- CVSS 3.0
- 7.8 High
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
yaraDebian:12 |
before 3.7.1-3 | 3.7.1-3 |
yaraDebian:13 |
before 3.7.1-3 | 3.7.1-3 |
yaraDebian:14 |
before 3.7.1-3 | 3.7.1-3 |
yaraUbuntu:Pro:16.04:LTS |
before 3.4.0+dfsg-2ubuntu0.1~esm1, plus listed versions 3.4.0+dfsg-23.4.0+dfsg-2build1 |
3.4.0+dfsg-2ubuntu0.1~esm1 |
yaraUbuntu:Pro:18.04:LTS |
before 3.7.1-1ubuntu2+esm1, plus listed versions 3.6.3+dfsg-1ubuntu13.7.1-1ubuntu13.7.1-1ubuntu2 |
3.7.1-1ubuntu2+esm1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2018-12034 is a high vulnerability (CVSS 7.8) in Virustotal Yara, published June 15, 2018. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.32%, the 70th percentile. Fixed in yara 3.7.1-3.
References
github.com/VirusTotal/yara/issues/891
bnbdr.github.io/posts/swisscheese
github.com/bnbdr/swisscheese
nvd.nist.gov/vuln/detail/CVE-2018-12034
github.com/advisories/GHSA-8929-jmq3-999x
security-tracker.debian.org/tracker/CVE-2018-12034
ubuntu.com/security/CVE-2018-12034
cve.org/CVERecord?id=CVE-2018-12034
ubuntu.com/security/notices/USN-8080-1