{"id":"CVE-2017-5924","details":"libyara/grammar.y in YARA 3.5.0 allows remote attackers to cause a denial of service (use-after-free and application crash) via a crafted rule that is mishandled in the yr_compiler_destroy function.","modified":"2026-07-08T12:40:51.872565Z","published":"2017-04-03T05:59:00.737Z","references":[{"type":"WEB","url":"http://www.securityfocus.com/bid/98075"},{"type":"FIX","url":"https://github.com/VirusTotal/yara/commit/7f02eca670f29c00a1d2c305e96febae6ce5d37b"},{"type":"FIX","url":"https://github.com/VirusTotal/yara/issues/593"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/virustotal/yara","events":[{"introduced":"c8571453e39913267e7042096d03bee040409b9a"},{"last_affected":"c8571453e39913267e7042096d03bee040409b9a"},{"fixed":"7f02eca670f29c00a1d2c305e96febae6ce5d37b"}],"database_specific":{"cpe":"cpe:2.3:a:virustotal:yara:3.5.0:*:*:*:*:*:*:*","extracted_events":[{"introduced":"3.5.0"},{"last_affected":"3.5.0"}],"source":["CPE_STRING","REFERENCES"]}}],"versions":["3.5.0","v3.5.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-5924.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}