# CVE-2018-19975: libyara3: In YARA 3.8.1, bytecode in a specially crafted compiled rule can read data from any arbitrary address in memory, in l...

CVE-2018-19975 is fixed in 2 products on 1 platform, first by libyara3 3.7.1-1ubuntu2+esm1, released February 4, 2022. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2018-19975
- Priority: Routine
- CVSS: n/a (Medium)
- EPSS: 0.0137
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Dec 17, 2018

## Description

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.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | libyara3 Ubuntu 18.04.6 LTS (bionic) | 3.7.1-1ubuntu2+esm1 | [libyara3 3.7.1-1ubuntu2+esm1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libyara3-3.7.1-1ubuntu2-esm1.md) | Feb 4, 2022 |
| Linux | yara Ubuntu 18.04.6 LTS (bionic) | 3.7.1-1ubuntu2+esm1 | [yara 3.7.1-1ubuntu2+esm1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-yara-3.7.1-1ubuntu2-esm1.md) | Feb 4, 2022 |

---

Data as of 2026-11-07T12:40:37Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo
