CVE-2018-12035
CVE-2018-12035 is a high-severity vulnerability in Virustotal Yara with a CVSS 3.x base score of 7.8. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-787.
Key facts
- Severity: High (CVSS 3.x base score 7.8)
- CVSS v2: 6.8
- EPSS exploit prediction: 1% (66th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-787
- Affected product: Virustotal Yara
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2018-12035?
- 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.
- How severe is CVE-2018-12035?
- CVE-2018-12035 has a CVSS 3.x base score of 7.8, rated high severity. It is exploitable over local access with low attack complexity, requires no privileges and user interaction. Impact on confidentiality is high, integrity high, and availability high.
- Is CVE-2018-12035 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (66th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2018-12035?
- CVE-2018-12035 affects Virustotal Yara. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2018-12035?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- When was CVE-2018-12035 published?
- CVE-2018-12035 was published on 2018-06-15 and last updated on 2026-06-17.
References
- https://bnbdr.github.io/posts/swisscheese/
- https://github.com/VirusTotal/yara/issues/891
- https://github.com/bnbdr/swisscheese
Affected products (1)
- cpe:2.3:a:virustotal:yara:*:*:*:*:*:*:*:*
More vulnerabilities in Virustotal Yara
- CVE-2021-3402 — Critical (CVSS 9.1): An integer overflow and several buffer overflow reads in libyara/modules/macho/macho.c in YARA v4.0.3 and earlier could…
- CVE-2023-40857 — High (CVSS 8.8): Buffer Overflow vulnerability in VirusTotal yara v.4.3.2 allows a remote attacker to execute arbtirary code via the…
- CVE-2019-19648 — High (CVSS 7.8): In the macho_parse_file functionality in macho/macho.c of YARA 3.11.0, command_size may be inconsistent with the real…
- CVE-2018-12034 — High (CVSS 7.8): In YARA 3.7.1 and prior, parsing a specially crafted compiled rule file can cause an out of bounds read vulnerability…
- CVE-2017-9438 — High (CVSS 7.5): libyara/re.c in the regexp module in YARA 3.5.0 allows remote attackers to cause a denial of service (stack…
- CVE-2017-9304 — High (CVSS 7.5): libyara/re.c in the regexp module in YARA 3.5.0 allows remote attackers to cause a denial of service (stack…
All CVEs affecting Virustotal Yara →
Other CWE-787 (Out-of-bounds Write) vulnerabilities
- CVE-2026-42369 — Critical (CVSS 10.0): GV-VMS V20 is a Video Monitoring Software used to gather the feeds of many surveillance cameras and manage other…
- CVE-2026-4746 — Critical (CVSS 10.0): Out-of-bounds Write vulnerability in timeplus-io proton (base/poco/Foundation/src modules). This vulnerability is…
- CVE-2025-43300 — Critical (CVSS 10.0): An out-of-bounds write issue was addressed with improved bounds checking. This issue is fixed in iOS 15.8.5 and iPadOS…
- CVE-2025-24201 — Critical (CVSS 10.0): An out-of-bounds write issue was addressed with improved checks to prevent unauthorized actions. This issue is fixed in…
- CVE-2024-42479 — Critical (CVSS 10.0): llama.cpp provides LLM inference in C/C++. The unsafe `data` pointer member in the `rpc_tensor` structure can cause…
- CVE-2024-39791 — Critical (CVSS 10.0): Stack-based buffer overflow vulnerabilities affecting Vonets industrial wifi bridge relays and wifi bridge…