CVE-2017-9304Uncontrolled Recursion in Yara

Severity
7.5HIGHNVD
EPSS
0.3%
top 43.72%
CISA KEV
Not in KEV
Exploit
No known exploits
Affected products
Timeline
PublishedMay 31
Latest updateMar 9

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.

CVSS vector

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HExploitability: 3.9 | Impact: 3.6

Affected Packages3 packages

Debianvirustotal/yara< 3.6.1+dfsg-1+3
Ubuntuvirustotal/yara< 3.4.0+dfsg-2ubuntu0.1~esm1+2
NVDvirustotal/yara3.5.0

Patches

🔴Vulnerability Details

7
OSV
yara vulnerabilities2026-03-09
GHSA
GHSA-24f8-4r56-7793: libyara/re2022-05-13
GHSA
GHSA-cvvq-777c-65v4: libyara/re2022-05-13
CVEList
CVE-2017-9438: libyara/re2017-06-05
OSV
CVE-2017-9438: libyara/re2017-06-05

📋Vendor Advisories

3
Ubuntu
YARA vulnerabilities2026-03-09
Debian
CVE-2017-9438: yara - libyara/re.c in the regexp module in YARA 3.5.0 allows remote attackers to cause...2017
Debian
CVE-2017-9304: yara - libyara/re.c in the regexp module in YARA 3.5.0 allows remote attackers to cause...2017

💬Community

1
Bugzilla
CVE-2017-9438 yara: Stack consumption via a crafted rule mishandled in the _ur_re_emit function2017-06-06
CVE-2017-9304 — Uncontrolled Recursion in Yara | cvebase