Description
A reachable assertion vulnerability exists in YARA 4.5.8 when loading crafted .yrc compiled rule files. An attacker can provide a malicious file with an invalid arena configuration (num_buffers=0) that triggers an assertion failure in yr_arena_get_ptr(), causing the application to terminate.
Published: 2026-09-22
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Denial of Service
Action: Apply Patch
AI Analysis

Impact

A reachable assertion in YARA 4.5.8 can be triggered by loading specially crafted compiled rule files in the .yrc format. When an attacker supplies a file with an invalid arena configuration (num_buffers=0), the function yr_arena_get_ptr() encounters an assertion failure that causes the YARA process to terminate. The primary effect is an application crash, which results in a denial of service rather than remote code execution or data exposure.

Affected Systems

The vulnerability appears in the open‑source YARA engine version 4.5.8, maintained by the VirusTotal community. No other product variants or higher versions are listed as affected. Users running this specific release are at risk when they load untrusted compiled rule files.

Risk and Exploitability

Based on the description, it is inferred that the attack vector is local; an adversary must provide a malicious .yrc file to an instance of YARA running under the attacker's user context or a privileged user that can supply the file. No remote exploitation path is documented. The EPSS score is < 1% and the vulnerability is not listed in CISA KEV, indicating a low likelihood of exploitation. The CVSS score of 5.5 reflects a moderate impact, with the functional effect being a denial of service via application termination.

Generated by OpenCVE AI on September 23, 2026 at 17:28 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade YARA to the latest stable release (≥4.6.0) where the assertion check has been hardened.
  • Before loading compiled rule files, verify that num_buffers is greater than zero and that the file comes from a trusted source.
  • Restrict access to the YARA binary so that only authorized users can inject custom rule files, reducing the opportunity for an attacker to supply the crafted .yrc file.

Generated by OpenCVE AI on September 23, 2026 at 17:28 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 23 Sep 2026 16:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-20

Wed, 23 Sep 2026 16:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 23 Sep 2026 15:30:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 5.0, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H'}

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H'}


Wed, 23 Sep 2026 12:30:00 +0000

Type Values Removed Values Added
Title Assertion Failure in YARA 4.5.8 Causes Crash with Malicious .yrc Files yara: YARA: Denial of Service via crafted compiled rule file
Weaknesses CWE-617
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.0, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H'}

threat_severity

Moderate


Tue, 22 Sep 2026 23:00:00 +0000

Type Values Removed Values Added
First Time appeared Virustotal
Virustotal yara
Vendors & Products Virustotal
Virustotal yara

Tue, 22 Sep 2026 22:15:00 +0000

Type Values Removed Values Added
Title Assertion Failure in YARA 4.5.8 Causes Crash with Malicious .yrc Files
Weaknesses CWE-20

Tue, 22 Sep 2026 20:00:00 +0000

Type Values Removed Values Added
Description A reachable assertion vulnerability exists in YARA 4.5.8 when loading crafted .yrc compiled rule files. An attacker can provide a malicious file with an invalid arena configuration (num_buffers=0) that triggers an assertion failure in yr_arena_get_ptr(), causing the application to terminate.
References

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2026-09-23T15:00:34.854Z

Reserved: 2026-09-10T00:00:00.000Z

Link: CVE-2026-88341

cve-icon Vulnrichment

Updated: 2026-09-23T14:59:24.733Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-09-22T20:17:10.370

Modified: 2026-09-24T21:08:22.573

Link: CVE-2026-88341

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-09-22T00:00:00Z

Links: CVE-2026-88341 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-09-23T17:30:06Z

Weaknesses