{"id":"CVE-2017-9304","aliases":["DEBIAN-CVE-2017-9304","EUVD-2017-18239","GHSA-cvvq-777c-65v4","UBUNTU-CVE-2017-9304","openSUSE-SU-2024:11530-1"],"status":"published","title":"libyara/re.c in the regexp module in YARA 3.5.0 allows remote attackers to cause a denial of...","description":"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.","severity":{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-07","score":0.01827,"percentile":0.78958,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-674"],"published":"2017-05-31T03:54:00Z","modified":"2026-10-20T13:30:35Z","fixes":[{"ecosystem":"Debian:12","package":"yara","fixed_in":["3.6.1+dfsg-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"yara","fixed_in":["3.6.1+dfsg-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"yara","fixed_in":["3.6.1+dfsg-1"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:16.04:LTS","package":"yara","fixed_in":["3.4.0+dfsg-2ubuntu0.1~esm1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"yara","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.6.1+dfsg-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"yara","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.6.1+dfsg-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"yara","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.6.1+dfsg-1"}]}]},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"yara","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"]},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"yara","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.1.1-1.2"}]}],"bundled":3}],"products":[{"vendor":"virustotal","product":"yara"}],"references":[{"url":"https://github.com/VirusTotal/yara/commit/925bcf3c3b0a28b5b78e25d9efda5c0bf27ae699","tags":["x_refsource_CONFIRM","x_transferred","Patch","fix"]},{"url":"https://github.com/VirusTotal/yara/issues/674","tags":["x_refsource_CONFIRM","x_transferred","Issue Tracking","Patch","fix","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-9304"},{"url":"https://github.com/advisories/GHSA-cvvq-777c-65v4"},{"url":"https://security-tracker.debian.org/tracker/CVE-2017-9304","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2017-9304","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2017-9304","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-8080-1","tags":["advisory"]},{"url":"","tags":["advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2016-10210","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-8294","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-9304","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2017-9304","description":"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.","status":"published","published":"2017-05-31T03:54:00Z","modified":"2024-08-05T17:02:44.197Z","updated_at":"2026-11-02T14:33:13.96587Z"}],"euvd":[{"id":"EUVD-2017-18239","description":"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.","status":"published","published":"2017-05-31T03:54:00Z","modified":"2024-08-05T17:02:44Z","updated_at":"2026-11-03T02:23:28.642509Z"}],"ghsa":[{"id":"GHSA-cvvq-777c-65v4","title":"libyara/re.c in the regexp module in YARA 3.5.0 allows remote attackers to cause a denial of...","description":"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.","status":"published","published":"2022-05-13T01:47:53Z","modified":"2023-02-02T05:01:32Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-674"],"updated_at":"2026-11-02T14:51:12.391632Z"}],"nvd":[{"id":"CVE-2017-9304","description":"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.","status":"published","published":"2017-05-31T04:29:00.257Z","modified":"2026-06-17T01:27:51.58Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-674"],"updated_at":"2026-11-02T14:03:49.449157Z"}],"osv":[{"id":"CVE-2017-9304","description":"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.","status":"published","published":"2017-05-31T04:29:00.257Z","modified":"2026-10-20T13:30:35.440160912Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:06.868403Z"},{"id":"DEBIAN-CVE-2017-9304","description":"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.","status":"published","published":"2017-05-31T04:29:00.257Z","modified":"2026-09-01T20:03:51.634024015Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:45:29.698576Z"},{"id":"UBUNTU-CVE-2017-9304","description":"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.","status":"published","published":"2017-05-31T04:29:00Z","modified":"2026-04-22T11:37:15.343019Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:54:16.154988Z"},{"id":"openSUSE-SU-2024:11530-1","title":"libyara-devel-4.1.1-1.2 on GA media","description":"These are all security issues fixed in the libyara-devel-4.1.1-1.2 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2024-06-15T00:00:00Z","modified":"2026-02-04T04:24:50.613857Z","updated_at":"2026-11-02T16:58:35.195147Z"}]}}
