Out-of-bounds Write Affecting yara package, versions <3.7.1-3


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
1.34% (71st 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-20079380
  • published24 Sept 2026
  • disclosed15 Jun 2018

Introduced: 15 Jun 2018

CVE-2018-12035  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade Echo:latest yara to version 3.7.1-3 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.

In YARA 3.7.1 and prior, parsing a specially crafted compiled rule file can cause an out of bounds write vulnerability in yr_execute_code in libyara/exec.c.