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.
https://github.com/bnbdr/swisscheese
https://github.com/VirusTotal/yara/issues/891
https://bnbdr.github.io/posts/swisscheese/
Source: Mitre, NVD
Published: 2018-06-15
Updated: 2024-11-21
Base Score: 6.8
Vector: CVSS2#AV:N/AC:M/Au:N/C:P/I:P/A:P
Severity: Medium
Base Score: 7.8
Vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Severity: High