{"id":"CVE-2018-12034","aliases":["DEBIAN-CVE-2018-12034","EUVD-2018-4018","GHSA-8929-jmq3-999x","UBUNTU-CVE-2018-12034"],"status":"published","title":"In YARA 3.7.1 and prior, parsing a specially crafted compiled rule file can cause an out of...","description":"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.","severity":{"version":"3.0","score":7.8,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.01316,"percentile":0.70982,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-125"],"published":"2018-06-15T16:00:00Z","modified":"2026-10-23T18:03:53Z","fixes":[{"ecosystem":"Debian:12","package":"yara","fixed_in":["3.7.1-3"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"yara","fixed_in":["3.7.1-3"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"yara","fixed_in":["3.7.1-3"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:16.04:LTS","package":"yara","fixed_in":["3.4.0+dfsg-2ubuntu0.1~esm1"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:18.04:LTS","package":"yara","fixed_in":["3.7.1-1ubuntu2+esm1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"yara","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.7.1-3"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"yara","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.7.1-3"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"yara","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.7.1-3"}]}]},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"yara","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.4.0+dfsg-2ubuntu0.1~esm1"}]}],"versions":["3.4.0+dfsg-2","3.4.0+dfsg-2build1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:18.04:LTS","package":"yara","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.7.1-1ubuntu2+esm1"}]}],"versions":["3.6.3+dfsg-1ubuntu1","3.7.1-1ubuntu1","3.7.1-1ubuntu2"]}],"products":[{"vendor":"virustotal","product":"yara"}],"references":[{"url":"https://github.com/VirusTotal/yara/issues/891","tags":["x_refsource_CONFIRM","x_transferred","Issue Tracking","Patch","Third Party Advisory","fix","report"]},{"url":"https://bnbdr.github.io/posts/swisscheese/","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence","report"]},{"url":"https://github.com/bnbdr/swisscheese","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-12034"},{"url":"https://github.com/advisories/GHSA-8929-jmq3-999x"},{"url":"https://security-tracker.debian.org/tracker/CVE-2018-12034","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2018-12034","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-12034","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-8080-1","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2018-12034","description":"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.","status":"published","published":"2018-06-15T16:00:00Z","modified":"2024-08-05T08:24:03.649Z","updated_at":"2026-11-02T14:35:06.679212Z"}],"euvd":[{"id":"EUVD-2018-4018","description":"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.","status":"published","published":"2018-06-15T16:00:00Z","modified":"2024-08-05T08:24:03Z","updated_at":"2026-11-03T02:39:53.575925Z"}],"ghsa":[{"id":"GHSA-8929-jmq3-999x","title":"In YARA 3.7.1 and prior, parsing a specially crafted compiled rule file can cause an out of...","description":"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.","status":"published","published":"2022-05-14T03:11:41Z","modified":"2023-02-02T05:07:25Z","cvss":[{"version":"3.0","score":7.8,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-125"],"updated_at":"2026-11-02T14:52:30.062581Z"}],"nvd":[{"id":"CVE-2018-12034","description":"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.","status":"published","published":"2018-06-15T16:29:00.327Z","modified":"2026-06-17T01:37:02.347Z","cvss":[{"version":"3.0","score":7.8,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-125"],"updated_at":"2026-11-02T14:04:29.837913Z"}],"osv":[{"id":"CVE-2018-12034","description":"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.","status":"published","published":"2018-06-15T16:29:00.327Z","modified":"2026-10-20T10:50:00.196006806Z","cvss":[{"version":"3.0","score":7.8,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:07.934182Z"},{"id":"DEBIAN-CVE-2018-12034","description":"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.","status":"published","published":"2018-06-15T16:29:00.327Z","modified":"2026-10-23T18:03:53.594061941Z","cvss":[{"version":"3.0","score":7.8,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:45:29.988046Z"},{"id":"UBUNTU-CVE-2018-12034","description":"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.","status":"published","published":"2018-06-15T16:29:00Z","modified":"2026-04-22T11:42:55.727747Z","cvss":[{"version":"3.0","score":7.8,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:54:16.544091Z"}]}}
