CVE-2017-9438
published 2017-06-05CVE-2017-9438: 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…
PriorityP336high7.5CVSS 3.0
AVNACLPRNUINSUCNINAH
EPSS
2.57%
83.4th percentile
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.
Affected
9 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | yara | < yara 3.6.1+dfsg-1 (bookworm) | yara 3.6.1+dfsg-1 (bookworm) |
| virustotal | yara | — | — |
| virustotal | yara | >= 0 < 3.6.1+dfsg-1 | 3.6.1+dfsg-1 |
| virustotal | yara | >= 0 < 3.6.1+dfsg-1 | 3.6.1+dfsg-1 |
| virustotal | yara | >= 0 < 3.6.1+dfsg-1 | 3.6.1+dfsg-1 |
| virustotal | yara | >= 0 < 3.6.1+dfsg-1 | 3.6.1+dfsg-1 |
| virustotal | yara | >= 0 < 3.4.0+dfsg-2ubuntu0.1~esm1 | 3.4.0+dfsg-2ubuntu0.1~esm1 |
| virustotal | yara | >= 0 < 3.7.1-1ubuntu2+esm1 | 3.7.1-1ubuntu2+esm1 |
| virustotal | yara | >= 0 < 3.9.0-1ubuntu0.1~esm1 | 3.9.0-1ubuntu0.1~esm1 |
CVSS provenance
nvdv3.07.5HIGHCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
nvdv2.05.0MEDIUMAV:N/AC:L/Au:N/C:N/I:N/A:P
osv7.5HIGH
vendor_debian7.5LOW
vendor_ubuntu7.5HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Ubuntu
YARA vulnerabilities
vendor_ubuntu·2026-03-09·CVSS 7.5
CVE-2017-9304 [HIGH] YARA vulnerabilities
Title: YARA vulnerabilities
Summary: Several security issues were fixed in YARA.
Kamil Frankowicz discovered that a number of YARA's functions
generated memory exceptions when processing specially crafted
rules or files. A remote attacker could possibly use these
issues to cause YARA to crash, resulting in a denial of
service. These issues only affected Ubuntu 16.04 LTS.
(CVE-2016-10211, CVE-2017-5923, CVE-2017-5924, CVE-2017-8294,
CVE-2017-8929, CVE-2017-9304, CVE-2017-9438, CVE-2017-9465)
Jurriaan Bremer discovered that YARA's yr_object_array_set_limit()
function could result in a heap buffer overflow when scanning
specially crafted .NET files. A remote attacker could possibly use
this issue to cause YARA to crash, resulting in a denial of service.
This issue only affected Ubuntu 16.0
Debian
CVE-2017-9438: yara - libyara/re.c in the regexp module in YARA 3.5.0 allows remote attackers to cause...
vendor_debian·2017·CVSS 7.5
CVE-2017-9438 [HIGH] CVE-2017-9438: yara - libyara/re.c in the regexp module in YARA 3.5.0 allows remote attackers to cause...
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.
Scope: local
bookworm: resolved (fixed in 3.6.1+dfsg-1)
bullseye: resolved (fixed in 3.6.1+dfsg-1)
forky: resolved (fixed in 3.6.1+dfsg-1)
sid: resolved (fixed in 3.6.1+dfsg-1)
trixie: resolved (fixed in 3.6.1+dfsg-1)
OSV
yara vulnerabilities
osv·2026-03-09·CVSS 7.5
CVE-2016-10211 [HIGH] yara vulnerabilities
yara vulnerabilities
Kamil Frankowicz discovered that a number of YARA's functions
generated memory exceptions when processing specially crafted
rules or files. A remote attacker could possibly use these
issues to cause YARA to crash, resulting in a denial of
service. These issues only affected Ubuntu 16.04 LTS.
(CVE-2016-10211, CVE-2017-5923, CVE-2017-5924, CVE-2017-8294,
CVE-2017-8929, CVE-2017-9304, CVE-2017-9438, CVE-2017-9465)
Jurriaan Bremer discovered that YARA's yr_object_array_set_limit()
function could result in a heap buffer overflow when scanning
specially crafted .NET files. A remote attacker could possibly use
this issue to cause YARA to crash, resulting in a denial of service.
This issue only affected Ubuntu 16.04 LTS. (CVE-2017-11328)
It was discovered that YARA's yr_exe
GHSA
GHSA-24f8-4r56-7793: libyara/re
ghsa_unreviewed·2022-05-13·CVSS 7.5
CVE-2017-9438 [HIGH] CWE-674 GHSA-24f8-4r56-7793: libyara/re
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.
OSV
CVE-2017-9438: libyara/re
osv·2017-06-05·CVSS 7.5
CVE-2017-9438 [HIGH] CVE-2017-9438: libyara/re
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.
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2017-9438 yara: Stack consumption via a crafted rule mishandled in the _ur_re_emit function
bugzilla·2017-06-06·CVSS 7.5
CVE-2017-9438 [HIGH] CVE-2017-9438 yara: Stack consumption via a crafted rule mishandled in the _ur_re_emit function
CVE-2017-9438 yara: Stack consumption via a crafted rule mishandled in the _ur_re_emit function
libyara/re.c in the regexp module in YARA 3.5.0 allows 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.
Upstream issue:
https://github.com/VirusTotal/yara/issues/674
Upstream patch:
https://github.com/VirusTotal/yara/commit/10e8bd3071677dd1fa76beeef4bc2fc427cea5e7
Discussion:
Created yara tracking bugs for this issue:
Affects: epel-6 [bug 1459013]
Bugzilla
CVE-2017-9438 yara: Stack consumption via a crafted rule mishandled in the _ur_re_emit function [epel-6]
bugzilla·2017-06-06·CVSS 7.5
CVE-2017-9438 [HIGH] CVE-2017-9438 yara: Stack consumption via a crafted rule mishandled in the _ur_re_emit function [epel-6]
CVE-2017-9438 yara: Stack consumption via a crafted rule mishandled in the _ur_re_emit function [epel-6]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of epel-6.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
Discussion:
Use the followin
https://github.com/VirusTotal/yara/commit/10e8bd3071677dd1fa76beeef4bc2fc427cea5e7https://github.com/VirusTotal/yara/issues/674https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FKNXSH5ERG6NELTXCYVJLUPJJJ2TNEBD/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XXM224OLGI6KAOROLDPPGGCZ2OQVQ6HH/https://github.com/VirusTotal/yara/commit/10e8bd3071677dd1fa76beeef4bc2fc427cea5e7https://github.com/VirusTotal/yara/issues/674https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FKNXSH5ERG6NELTXCYVJLUPJJJ2TNEBD/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XXM224OLGI6KAOROLDPPGGCZ2OQVQ6HH/
2017-06-05
Published