Description
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.
Published: 2026-09-22
Score: 7.6 High
EPSS: < 1% Very Low
KEV: No
Impact: Denial of Service
Action: Patch the software
AI Analysis

Impact

YARA 4.5.8 has a memory corruption vulnerability that occurs when deserializing compiled .yrc rule files. The flaw is caused by the program’s lack of validation of external‑variable pointers, which can lead to an invalid free in yr_rules_destroy() or a wild pointer access in yr_object_create(). An adversary who can supply a malicious .yrc file is able to trigger memory corruption, causing the application to crash without any requirement for remote code execution.

Affected Systems

Systems that run YARA 4.5.8 and process compiled rule files are affected. This typically includes malware‑analysis workstations, security scanners, continuous integration pipelines, and any other environment that loads or evaluates .yrc files. The impact is observed whenever a malformed file is deserialized, leading to an application failure.

Risk and Exploitability

The vulnerability requires an attacker to provide a crafted rule file to the YARA process; the attack vector is therefore limited to scenarios where untrusted or externally supplied rule files are loaded. The CVSS score of 7.6 indicates high severity. The EPSS score of <1% indicates a very low probability of exploitation, and the issue is not listed in the CISA KEV catalog, implying no documented public exploitation yet. However, because memory corruption can lead to a denial of service, the risk remains non‑trivial and mitigation should be applied promptly.

Generated by OpenCVE AI on September 26, 2026 at 05:28 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Patch YARA to the latest release, which includes the external‑variable pointer validation that addresses the Use After Free issue.
  • Sanity‑check .yrc rule files before deserialization—validate checksums or signatures—to prevent malicious files from being loaded (mitigating the Object‑less Input Data weakness).
  • Run YARA processes that load external rule files in a sandboxed or least‑privileged environment to limit the impact of any memory corruption and ensure proper isolation from the host system (dealing with External Subcomponent Isolation concerns, CWE‑763).

Generated by OpenCVE AI on September 26, 2026 at 05:28 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 25 Sep 2026 21:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Fri, 25 Sep 2026 20: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': 7.6, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:H'}


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

Type Values Removed Values Added
Weaknesses CWE-416
CWE-778

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

Type Values Removed Values Added
Title Memory corruption in YARA 4.5.8 from crafted .yrc files yara: YARA: Memory corruption and denial of service via specially crafted rule files
Weaknesses CWE-763
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
Title Memory corruption in YARA 4.5.8 from crafted .yrc files
First Time appeared Virustotal
Virustotal yara
Weaknesses CWE-416
CWE-778
Vendors & Products Virustotal
Virustotal yara

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

Type Values Removed Values Added
Description 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.
References

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2026-09-25T19:47:47.785Z

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

Link: CVE-2026-88340

cve-icon Vulnrichment

Updated: 2026-09-25T19:47:19.105Z

cve-icon NVD

Status : Awaiting Analysis

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

Modified: 2026-09-25T20:17:47.427

Link: CVE-2026-88340

cve-icon Redhat

Severity : Moderate

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

Links: CVE-2026-88340 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-09-26T05:30:04Z

Weaknesses
  • CWE-763

    Release of Invalid Pointer or Reference