CVE-2026-88341

yara: YARA: Denial of Service via crafted compiled rule file

Published Sep 22, 2026 CVSS 3.1 · 5.5 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

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 available
History
Type Values Removed Values Added
Weaknesses CWE-20
Type Values Removed Values Added
Metrics ssvc

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

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'}

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

Type Values Removed Values Added
First Time appeared Virustotal
Virustotal yara
Vendors & Products Virustotal
Virustotal yara
Type Values Removed Values Added
Title Assertion Failure in YARA 4.5.8 Causes Crash with Malicious .yrc Files
Weaknesses CWE-20
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
Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Sep 23, 2026, 3:00 PM
Reserved
Sep 10, 2026, 12:00 AM
Status
Awaiting Analysis
Published
Sep 22, 2026, 8:17 PM
Modified
Sep 24, 2026, 9:08 PM
Severity
Moderate
Public date
Sep 22, 2026, 12:00 AM