CVE-2026-88340

NameCVE-2026-88340
DescriptionAn 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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
yara (PTS)bookworm4.2.3-4vulnerable
trixie4.5.2-1vulnerable
forky, sid4.5.8-1vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
yarasource(unstable)(unfixed)

Notes

https://github.com/VirusTotal/yara/issues/2239
https://github.com/VirusTotal/yara/pull/2244

Search for package or bug name: Reporting problems