Skip to main content

YARA CVE-2026-88340

| EUVDEUVD-2026-84849 HIGH
Release of Invalid Pointer or Reference (CWE-763)
2026-09-22 mitre GHSA-f27p-cq5g-fr5x
7.6
CVSS 3.1 · Vendor: mitre
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft malicious .yrc rule file
  2. Delivery
    Deliver via rule feed or download
  3. Exploit
    Victim application deserializes file
  4. Execution
    Invalid free / wild pointer dereference
  5. Impact
    Memory corruption and process crash (DoS)

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Pointer release safety
Exploitation Conditions

Requires the target application or product to load an attacker-supplied compiled YARA rules file (.yrc) and deserialize it via YARA 4.5.8's yr_rules_load/yr_rules_from_arena path; the crafted file supplies malformed external-variable pointers or an out-of-range type field that pre-patch code fails to validate. Exploitation is limited by UI:R (a user or process must actively load the untrusted .yrc) and by the deployment trust model: most YARA users compile and load their own rules, so exposure depends on ingesting third-party/untrusted compiled rule files (e.g. shared or automatically-pulled rule feeds). No authentication is required (PR:N), and the worst realistic outcome for typical deployments is a process crash (denial of service).

Impact

Signals point to a moderate, DoS-oriented issue rather than a top-tier priority. The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:H, 7.6) is driven almost entirely by the A:H availability impact; the C:L/I:L are generous given the description explicitly frames the outcome as 'memory corruption and application crash' rather than disclosure or code execution. EPSS is low at 0.21% (11th percentile), there is no CISA KEV listing, and no public exploit code was identified - only the upstream fix PR and issue are referenced, which are remediation artifacts, not weaponized POCs. No SSVC decision data was provided in the input. The most important limiter is UI:R combined with the trust model: exploitation requires an application to deserialize an attacker-supplied compiled .yrc file, and in practice most YARA deployments compile and load their OWN rules, so an untrusted-.yrc path is an atypical (though real, e.g. shared rule feeds) trust boundary. Net: a legitimate memory-safety bug worth patching in security tooling, but current telemetry indicates low real-world exploitation pressure and DoS as the realistic worst case for typical deployments. Note the CVSS assigns C:L/I:L while the description supports primarily availability impact - the confidentiality/integrity contribution is not well-substantiated by the provided text.

Exploit ScenarioDerived

An attacker distributes a specially crafted compiled YARA rules file (.yrc) - for example via a shared/community rule feed or a malicious download - to a victim system or product that loads external YARA rules. When the target application deserializes the file through yr_rules_load/yr_rules_from_arena, insufficient validation of external-variable pointers triggers an invalid free in yr_rules_destroy() or a wild-pointer access in yr_object_create(), corrupting memory and crashing the process. No public exploit code was identified; only the vendor fix and regression test are available.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Sep 25, 2026

Denial of service in YARA 4.5.8 occurs when libyara deserializes a crafted compiled rule file (.yrc): malformed external-variable pointers or an out-of-range type field are not validated in the yr_rules_load/yr_rules_from_arena path, resulting in an invalid free in yr_rules_destroy() or a wild pointer dereference in yr_object_create(). Only deployments that load compiled rules from untrusted or third-party sources are exposed, since the assessed vector requires a user or process to actively load the file (UI:R) and no authentication (PR:N); the realistic outcome is a process crash rather than code execution (C:N/I:N/A:H). No public exploit code has been identified at time of analysis, EPSS is low at 0.21% (11th percentile), and the issue is not confirmed actively exploited (CISA KEV).

RemediationAI

Vendor-released patch: none confirmed - the available fix is the upstream change in VirusTotal/yara PR 2244 (commit 8d7bef643ee5fa2381e235bcedf80170a6b00d3b), which adds external-variable validation to yr_rules_from_arena(); treat this as 'Upstream fix available (PR/commit); released patched version not independently confirmed' and apply the commit or upgrade to the first tagged release that contains it, tracking issue 2239 and PR 2244 for confirmation (also see EUVD-2026-84849 and https://nvd.nist.gov/vuln/detail/CVE-2026-88340). In the meantime, the most effective compensating control is to avoid loading compiled .yrc files from untrusted or third-party sources and instead compile rules locally from .yar source with yr_compile_file(), which bypasses the vulnerable deserialization path entirely; the trade-off is added compile time and the loss of pre-compiled rule distribution convenience. If externally produced compiled rules must be consumed, verify their provenance with hashes or signatures and restrict which parties can publish into rule feeds, accepting that this reduces agility in rule updates. As defense in depth, run YARA scans in a dedicated unprivileged process, container, or sandbox with memory limits and seccomp filtering so that an invalid free or wild pointer access only terminates the scanner rather than affecting the host; the trade-off is operational complexity and reduced throughput for high-volume scanning workloads.

Affected VersionsENISA

n/a n/a

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The root cause is CWE-763 (Release of Invalid Pointer or Reference) in YARA's compiled-rules serialization format. A compiled .yrc file is an arena-based structure whose YR_EXTERNAL_VARIABLES_TABLE holds an array of YR_EXTERNAL_VARIABLE records (an identifier string, a type enum, and a value union), terminated by a null sentinel record. Versions before the fix trusted these fields during deserialization, so a crafted file could supply an identifier or string-value pointer that is not a valid in-arena reference, or a type value that is none of the serialized EXTERNAL_VARIABLE_TYPE_* values; the bogus type then propagated to yr_object_create() (wild pointer access) and the bogus pointer was eventually released by yr_rules_destroy() (invalid free). The upstream patch in PR 2244 adds explicit validation in yr_rules_from_arena(): the table size must be nonzero and an exact multiple of sizeof(YR_EXTERNAL_VARIABLE); each entry's type must be FLOAT, INTEGER, BOOLEAN, or STRING; identifier pointers (and string values) must resolve to in-arena buffers containing a NUL terminator, verified via yr_arena_ptr_to_ref() plus memchr(); and a null sentinel record must be present, otherwise ERROR_CORRUPT_FILE is returned. Note that the provided CPE record is unpopulated (cpe:2.3:a:n/a:n/a), and the associated tags include 'Deserialization' and 'Buffer Overflow', so product attribution here rests on the description and the VirusTotal repository references rather than structured CPE data.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (mitre) PRIMARY 7.6 HIGH
AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:H
vuln.today AI 6.5 MEDIUM

Delivered as a malicious file a user must load (AV:N/UI:R, PR:N); described outcome is memory corruption and crash, so A:H with no substantiated confidentiality/integrity impact.

3.1 AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
SUSE HIGH
Red Hat 5.0 MEDIUM

Primary rating from Vendor (mitre).

CVSS VectorVendor: mitre

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
High

Lifecycle Timeline

3
CVSS changed
Sep 25, 2026 - 20:22 NVD
7.6 (HIGH)
CVE Published
Sep 22, 2026 - 00:00 cve.org
HIGH 7.6
CVE Published
Sep 22, 2026 - 00:00 cve.org
UNKNOWN (no severity yet)

DescriptionCVE.org

An invalid pointer release vulnerability exists in YARA 4.5.8 during deserialization of compiled .yrc rule files. The vulnerability is caused by insufficient validation of external-variable pointers, which may lead to invalid free in yr_rules_destroy() or wild pointer access in yr_object_create(). An attacker can provide a specially crafted .yrc file that causes memory corruption and application crash.

Executive ViewAI

Why It Matters

YARA 4.5.8, a widely used pattern-matching engine for malware scanning, contains a denial-of-service flaw that can crash processes loading specially crafted compiled rule files. The exposure is limited to organizations that ingest third-party or untrusted .yrc files, where a successful trigger could disrupt security scanning or dependent workflows rather than lead to data compromise or remote code execution. No public exploit identified at time of analysis, and no vendor-released patch identified at time of analysis, so leadership should prioritize restricting untrusted compiled-rule ingestion and isolating affected YARA services.

Business Impact: Medium
Compensating Controls

No vendor-released patch identified at time of analysis. Restrict .yrc ingestion to trusted internal sources, do not load untrusted or third-party compiled rules, run YARA 4.5.8 scanning under least privilege and isolated from critical systems, monitor for abnormal process crashes, and validate compiled rule files before use.

Threat Intelligence Overview

EPSS Score
0.2%
Top 89% exploitable
Prevalence
High
YARA is a widely embedded malware-analysis engine across security products and IR tooling
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
Medium

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

Insecure deserialization occurs when an application converts serialized data (a stream of bytes representing an object's state) back into a living object without proper validation.

Vendor StatusVendor

SUSE

Severity: Important

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy