{"id":"CVE-2016-10211","aliases":["DEBIAN-CVE-2016-10211","EUVD-2016-1396","GHSA-4c8q-59gf-m24q","UBUNTU-CVE-2016-10211","USN-8080-1"],"status":"published","title":"libyara/grammar.y in YARA 3.5.0 allows remote attackers to cause a denial of service (use-after...","description":"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_parser_lookup_loop_variable 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-08","score":0.01587,"percentile":0.75779,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-416"],"published":"2017-04-03T05:44:00Z","modified":"2026-10-20T13:13:30Z","fixes":[{"ecosystem":"Debian:12","package":"yara","fixed_in":["3.5.0+dfsg-9"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"yara","fixed_in":["3.5.0+dfsg-9"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"yara","fixed_in":["3.5.0+dfsg-9"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:16.04:LTS","package":"yara","fixed_in":["3.4.0+dfsg-2ubuntu0.1~esm1"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:18.04:LTS","package":"yara","fixed_in":["3.7.1-1ubuntu2+esm1"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:20.04:LTS","package":"yara","fixed_in":["3.9.0-1ubuntu0.1~esm1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"yara","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.5.0+dfsg-9"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"yara","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.5.0+dfsg-9"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"yara","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.5.0+dfsg-9"}]}]},{"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":"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":"Ubuntu:Pro:18.04:LTS","package":"yara","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.7.1-1ubuntu2+esm1"}]}],"versions":["3.6.3+dfsg-1ubuntu1","3.7.1-1ubuntu1","3.7.1-1ubuntu2"]},{"source":"osv","ecosystem":"Ubuntu:Pro:20.04:LTS","package":"yara","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.9.0-1ubuntu0.1~esm1"}]}],"versions":["3.9.0-1"]}],"products":[{"vendor":"virustotal","product":"yara"}],"references":[{"url":"http://www.securityfocus.com/bid/98078","tags":["vdb-entry","x_refsource_BID","x_transferred","web"]},{"url":"https://github.com/VirusTotal/yara/commit/890c3f850293176c0e996a602ffa88b315f4e98f","tags":["x_refsource_CONFIRM","x_transferred","Patch","Vendor Advisory","fix"]},{"url":"https://github.com/VirusTotal/yara/issues/575","tags":["x_refsource_CONFIRM","x_transferred","Exploit","Issue Tracking","Patch","fix"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2016-10211"},{"url":"https://github.com/advisories/GHSA-4c8q-59gf-m24q"},{"url":"https://security-tracker.debian.org/tracker/CVE-2016-10211","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2016-10211","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2016-10211","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-8080-1","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2017-5923","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2017-5924","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2017-8294","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2017-8929","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2017-9304","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2017-9438","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2017-9465","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2017-11328","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2018-12034","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2018-12035","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2018-19974","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2018-19975","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2018-19976","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2019-19648","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2021-3402","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2021-45429","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2016-10211","description":"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_parser_lookup_loop_variable function.","status":"published","published":"2017-04-03T05:44:00Z","modified":"2024-08-06T03:14:42.329Z","updated_at":"2026-11-02T14:33:31.450804Z"}],"euvd":[{"id":"EUVD-2016-1396","description":"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_parser_lookup_loop_variable function.","status":"published","published":"2017-04-03T05:44:00Z","modified":"2024-08-06T03:14:42Z","updated_at":"2026-11-03T02:22:24.738409Z"}],"ghsa":[{"id":"GHSA-4c8q-59gf-m24q","title":"libyara/grammar.y in YARA 3.5.0 allows remote attackers to cause a denial of service (use-after...","description":"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_parser_lookup_loop_variable function.","status":"published","published":"2022-05-17T02:47:20Z","modified":"2023-01-27T05:06:00Z","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-416"],"updated_at":"2026-11-02T14:42:48.808656Z"}],"nvd":[{"id":"CVE-2016-10211","description":"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_parser_lookup_loop_variable function.","status":"published","published":"2017-04-03T05:59:00.317Z","modified":"2026-06-17T00:39:17.69Z","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-416"],"updated_at":"2026-11-02T14:03:37.238712Z"}],"osv":[{"id":"CVE-2016-10211","description":"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_parser_lookup_loop_variable function.","status":"published","published":"2017-04-03T05:59:00.317Z","modified":"2026-10-20T13:13:30.297010537Z","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:01.531338Z"},{"id":"DEBIAN-CVE-2016-10211","description":"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_parser_lookup_loop_variable function.","status":"published","published":"2017-04-03T05:59:00.317Z","modified":"2026-09-22T07:02:53.644754986Z","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:27.323751Z"},{"id":"UBUNTU-CVE-2016-10211","description":"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_parser_lookup_loop_variable function.","status":"published","published":"2017-04-03T05:59:00Z","modified":"2026-04-22T10:29:54.151069Z","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:11.492576Z"},{"id":"USN-8080-1","title":"yara vulnerabilities","description":"Kamil Frankowicz discovered that a number of YARA's functions\ngenerated memory exceptions when processing specially crafted\nrules or files. A remote attacker could possibly use these\nissues to cause YARA to crash, resulting in a denial of\nservice. These issues only affected Ubuntu 16.04 LTS.\n(CVE-2016-10211, CVE-2017-5923, CVE-2017-5924, CVE-2017-8294,\nCVE-2017-8929, CVE-2017-9304, CVE-2017-9438, CVE-2017-9465)\n\nJurriaan Bremer discovered that YARA's yr_object_array_set_limit()\nfunction could result in a heap buffer overflow when scanning\nspecially crafted .NET files. A remote attacker could possibly use\nthis issue to cause YARA to crash, resulting in a denial of service.\nThis issue only affected Ubuntu 16.04 LTS. (CVE-2017-11328)\n\nIt was discovered that YARA's yr_execute_code() function could\ncause an out-of-bounds read or write when parsing specially crafted\ncompiled rule files. A remote attacker could possibly use these\nissues to cause YARA to crash, resulting in a denial of service.\nThese issues only affected Ubuntu 16.04 LTS and Ubuntu 18.04 LTS.\n(CVE-2018-12034, CVE-2018-12035)\n\nIt was discovered that YARA's virtual machine could be escaped in\ncertain instances. A remote attacker could possibly use these issues\nto execute arbitrary code. These issues only affected Ubuntu 16.04\nLTS and Ubuntu 18.04 LTS. (CVE-2018-19974, CVE-2018-19975,\nCVE-2018-19976)\n\nIt was discovered that YARA's macho_parse_file() function would\ngenerate an out-of-bounds memory access error when parsing a\nspecially crafted Mach-O file. A remote attacker could possibly use\nthis issue to cause YARA to crash, resulting in a denial of service,\nor execute arbitrary code. This issue only affected Ubuntu 20.04 LTS.\n(CVE-2019-19648)\n\nIt was discovered that YARA's macho.c implementation contained several\noverflow reads, which could be triggered when parsing specially\ncrafted Mach-O files. A remote attacker could possibly use this issue\nto cause YARA to crash, resulting in a denial of service, or to learn\nsensitive information. This issue only affected Ubuntu 20.04 LTS.\n(CVE-2021-3402)\n\nIt was discovered that YARA's yr_set_configuration() function could\ntrigger a buffer overflow when parsing specially crafted rules. A\nremote attacker could possibly use this issue to cause YARA to crash,\nresulting in a denial of service. This issue only affected Ubuntu\n18.04 LTS and Ubuntu 20.04 LTS. (CVE-2021-45429)","status":"published","published":"2026-03-09T16:06:04Z","modified":"2026-06-25T13:32:31.723977734Z","updated_at":"2026-11-02T16:58:22.951676Z"}]}}
