{"id":"UBUNTU-CVE-2017-9438","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 (involving hex strings) that is mishandled in the _yr_re_emit function, a different vulnerability than CVE-2017-9304.","modified":"2026-03-11T07:44:53.558774Z","published":"2017-06-05T17:29:00Z","related":["USN-8080-1"],"upstream":["CVE-2017-9438"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2017-9438"},{"type":"REPORT","url":"https://github.com/VirusTotal/yara/issues/674"},{"type":"REPORT","url":"https://github.com/VirusTotal/yara/commit/10e8bd3071677dd1fa76beeef4bc2fc427cea5e7"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2017-9438"},{"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/2017/UBUNTU-CVE-2017-9438.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":"low"}]}