{"id":"UBUNTU-CVE-2018-12034","details":"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.","modified":"2026-04-22T12:48:25.031283Z","published":"2018-06-15T16:29:00Z","related":["USN-8080-1"],"upstream":["CVE-2018-12034"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2018-12034"},{"type":"REPORT","url":"https://github.com/VirusTotal/yara/issues/891"},{"type":"REPORT","url":"https://bnbdr.github.io/posts/swisscheese/"},{"type":"REPORT","url":"https://github.com/bnbdr/swisscheese"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2018-12034"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-8080-1"}],"affected":[{"package":{"name":"yara","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/yara@3.4.0+dfsg-2ubuntu0.1~esm1?arch=source&distro=esm-apps/xenial"},"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"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","binaries":[{"binary_version":"3.4.0+dfsg-2ubuntu0.1~esm1","binary_name":"libyara3"},{"binary_version":"3.4.0+dfsg-2ubuntu0.1~esm1","binary_name":"python-yara"},{"binary_version":"3.4.0+dfsg-2ubuntu0.1~esm1","binary_name":"python3-yara"},{"binary_version":"3.4.0+dfsg-2ubuntu0.1~esm1","binary_name":"yara"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-12034.json"}},{"package":{"name":"yara","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/yara@3.7.1-1ubuntu2+esm1?arch=source&distro=esm-apps/bionic"},"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"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","binaries":[{"binary_version":"3.7.1-1ubuntu2+esm1","binary_name":"libyara3"},{"binary_version":"3.7.1-1ubuntu2+esm1","binary_name":"yara"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-12034.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"low"}]}