CVE-2018-12034 json
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…
published 8y ago modified 4mo ago also EUVD-2018-4018
- cvss
- 7.8
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.3%
- EPSS 1.3% chance of exploitation in 30 days, percentile 70%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- yara Debian 14, Debian 13, Debian 12 3.7.1-3
debian advisories DEBIAN-CVE-2018-12034
- yara Ubuntu Pro 16.04 LTS 3.4.0+dfsg-2ubuntu0.1~esm1
- yara Ubuntu Pro 18.04 LTS 3.7.1-1ubuntu2+esm1
ubuntu advisories UBUNTU-CVE-2018-12034
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Is CVE-2018-12034 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2018-12034 updated cvss 3.3
yara: out of bounds read in yr_execute_code in libyara/exec.c.
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
1.32% chance of exploitation in the next 30 days, higher than 70% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- bnbdr.github.io https://bnbdr.github.io/posts/swisscheese/ referenced PoC, tagged "exploit" by a source, unverified
- github.com https://github.com/bnbdr/swisscheese referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 7.8 | CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Classification
- Weakness
-
- CWE-125 Out-of-bounds Read
References
-
github.com
/VirusTotal/yara/issues/891
issue-tracking, patch, third-party-advisory
-
bnbdr.github.io
/posts/swisscheese/
exploit, third-party-advisory
-
github.com
/bnbdr/swisscheese
exploit, third-party-advisory
Sources
- CVE List CVE-2018-12034
- NVD CVE-2018-12034
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.