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://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-19975.json"