{"id":"UBUNTU-CVE-2018-19976","details":"In YARA 3.8.1, bytecode in a specially crafted compiled rule is exposed to information about its environment, in libyara/exec.c. This is a consequence of the design of the YARA virtual machine.","modified":"2026-03-10T05:55:08.699248Z","published":"2018-12-17T19:29:00Z","related":["USN-8080-1"],"upstream":["CVE-2018-19976"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2018-19976"},{"type":"REPORT","url":"https://github.com/VirusTotal/yara/issues/999"},{"type":"REPORT","url":"https://bnbdr.github.io/posts/extracheese/"},{"type":"REPORT","url":"https://github.com/bnbdr/swisscheese/"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2018-19976"},{"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":{"binaries":[{"binary_version":"3.4.0+dfsg-2ubuntu0.1~esm1","binary_name":"libyara-dev"},{"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"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-19976.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":{"binaries":[{"binary_version":"3.7.1-1ubuntu2+esm1","binary_name":"libyara-dev"},{"binary_version":"3.7.1-1ubuntu2+esm1","binary_name":"libyara3"},{"binary_version":"3.7.1-1ubuntu2+esm1","binary_name":"yara"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-19976.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N"},{"type":"Ubuntu","score":"low"}]}