CVE-2018-12034: YARA - Out of Bounds Read
- Cve: CVE-2018-12034
- Name: YARA - Out of Bounds Read
- 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.
- Impact: Attackers can cause denial of service or potentially execute arbitrary code by exploiting this out of bounds read.
- Remediation: Update to the latest version of YARA where the issue is fixed.
- Vulnerability type: out_of_bounds_rw
- Vulnerability impact: denial_of_service, remote_code_execution
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.8
- Cvss vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Epss score: 0.01316
- Epss percentile: 0.71521
- Assignee: [email protected]
- Published at: 2018-06-15T16:29:00Z
- Age in days: 3084
- Modified at: 2026-06-17T01:37:02Z
- Patch available: yes
- Public exploits total: 2
- References total: 3
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2018-12034
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-125 | Out-of-bounds Read |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://bnbdr.github.io/posts/swisscheese/ | nvd | 2018-06-15 |
| https://github.com/bnbdr/swisscheese | nvd | 2018-06-15 |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://github.com/VirusTotal/yara/issues/891 | Issue Tracking, Patch, Third Party Advisory |
| https://bnbdr.github.io/posts/swisscheese/ | Exploit, Third Party Advisory |
| https://github.com/bnbdr/swisscheese | Exploit, Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| virustotal:yara | <= 3.7.1 | no | nvd | /v1/products/virustotal/yara |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| VirusTotal/yara | issues | yes | /v1/repositories/VirusTotal/yara |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 2
- Public exploit first date: 2018-06-15
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, remote, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts