Use of Uninitialized Resource Affecting yara package, versions <3.8.1-2


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
1.27% (69th 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-20079381
  • published24 Sept 2026
  • disclosed17 Dec 2018

Introduced: 17 Dec 2018

CVE-2018-19974  (opens in a new tab)
CWE-908  (opens in a new tab)

How to fix?

Upgrade Echo:latest yara to version 3.8.1-2 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.8.1, bytecode in a specially crafted compiled rule can read uninitialized data from VM scratch memory in libyara/exec.c. This can allow attackers to discover addresses in the real stack (not the YARA virtual stack).