Uncontrolled Recursion Affecting yara package, versions <3.6.1+dfsg-1


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
1.83% (78th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ECHOLATEST-YARA-20079371
  • published24 Sept 2026
  • disclosed31 May 2017

Introduced: 31 May 2017

CVE-2017-9304  (opens in a new tab)
CWE-674  (opens in a new tab)

How to fix?

Upgrade Echo:latest yara to version 3.6.1+dfsg-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream yara package and not the yara package as distributed by Echo. See How to fix? for Echo:latest relevant fixed versions and status.

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.