CVE-2018-12034

HIGH

YARA <3.7.1 - Memory Corruption

Title source: llm
STIX 2.1

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.

References (3)

Core 3
Core References
Issue Tracking, Patch, Third Party Advisory x_refsource_confirm
https://github.com/VirusTotal/yara/issues/891
Exploit, Third Party Advisory x_refsource_misc
https://bnbdr.github.io/posts/swisscheese/
Exploit, Third Party Advisory x_refsource_misc
https://github.com/bnbdr/swisscheese

Scores

CVSS v3 7.8
EPSS 0.0018
EPSS Percentile 39.2%
Attack Vector LOCAL
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Details

CWE
CWE-125
Status published
Products (1)
virustotal/yara < 3.7.1
Published Jun 15, 2018
Tracked Since Feb 18, 2026