{"id":"UBUNTU-CVE-2017-9304","details":"libyara/re.c in the regexp module in YARA 3.5.0 allows remote attackers to cause a denial of service (stack consumption) via a crafted rule that is mishandled in the _yr_re_emit function.","modified":"2026-04-22T11:37:15.343019Z","published":"2017-05-31T04:29:00Z","related":["USN-8080-1"],"upstream":["CVE-2017-9304"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2017-9304"},{"type":"REPORT","url":"https://github.com/VirusTotal/yara/issues/674"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2017-9304"},{"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_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","binary_version":"3.4.0+dfsg-2ubuntu0.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-9304.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"}]}