{"id":"CVE-2018-12035","details":"In YARA 3.7.1 and prior, parsing a specially crafted compiled rule file can cause an out of bounds write vulnerability in yr_execute_code in libyara/exec.c.","modified":"2026-04-10T04:04:41.552935Z","published":"2018-06-15T16:29:00.373Z","references":[{"type":"FIX","url":"https://github.com/VirusTotal/yara/issues/891"},{"type":"EVIDENCE","url":"https://bnbdr.github.io/posts/swisscheese/"},{"type":"EVIDENCE","url":"https://github.com/bnbdr/swisscheese"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/virustotal/yara","events":[{"introduced":"0"},{"last_affected":"21d82ff7ddaf7c01e9b3a7364f4cb3820870bcb2"}],"database_specific":{"versions":[{"introduced":"0"},{"last_affected":"3.7.1"}]}}],"versions":["v2.0.0","v2.1.0","v3.0.0","v3.1.0","v3.2.0","v3.3.0","v3.4.0","v3.6.0","v3.7.0","v3.7.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-12035.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"}]}