In YARA 3.8.1, bytecode in a specially crafted compiled rule can read data from any arbitrary address in memory, in libyara/exec.c. Specifically, OP_COUNT can read a DWORD.
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DFFXDAMP6GJ337LIOTVF5I4T6QGMN3ZR/
https://github.com/bnbdr/swisscheese/
https://github.com/VirusTotal/yara/issues/999
https://bnbdr.github.io/posts/extracheese/
Source: Mitre, NVD
Published: 2018-12-17
Updated: 2023-11-07
Base Score: 7.1
Vector: CVSS2#AV:N/AC:M/Au:N/C:C/I:N/A:N
Severity: High
Base Score: 5.5
Vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
Severity: Medium