CVE-2026-88340 Use after free in n/a

High 7.6 Published Updated

An attacker can cause memory corruption and application crash in YARA by providing a specially crafted .yrc file during deserialization.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2026-88340?

CVE-2026-88340 is a high-severity use after free vulnerability in n/a, published on 22 Sep 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

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

Weakness: CWE-763

Which versions are affected by CVE-2026-88340?

How do I fix CVE-2026-88340?

No fix has been published for CVE-2026-88340 yet. Limit exposure of the affected software until one is available.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2026-88340 being exploited?

There is no known exploitation of CVE-2026-88340 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2026-88340, GHSA-f27p-cq5g-fr5x, UBUNTU-CVE-2026-88340.

Is CVE-2026-88340 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free