All reports
Medium

yara: YARA: Memory corruption and denial of service via specially crafted rule files

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2026-88340

Probability of exploitation in the next 30 days: 0.25%

FIRST EPSS · 2026-11-19

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.

A flaw was found in YARA. This invalid pointer release vulnerability occurs during the deserialization of compiled rule files (.yrc). An attacker can exploit this by providing a specially crafted .yrc file, leading to insufficient validation of external-variable pointers. This can result in memory corruption and cause the application to crash, leading to a denial of service.