{"id":"UBUNTU-CVE-2017-5923","details":"libyara/grammar.y in YARA 3.5.0 allows remote attackers to cause a denial of service (heap-based out-of-bounds read and application crash) via a crafted rule that is mishandled in the yara_yyparse function.","modified":"2026-04-22T11:28:29.743562Z","published":"2017-04-03T05:59:00Z","related":["USN-8080-1"],"upstream":["CVE-2017-5923"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2017-5923"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2017-5923"},{"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":"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/2017/UBUNTU-CVE-2017-5923.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"},{"type":"Ubuntu","score":"medium"}]}