CVE-2026-88340
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.
What to do
Debian, Red Hat, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | yara | Fix pending | UBUNTU-CVE-2026-88340 | |
| Ubuntu 26.04 | yara | Under investigation | UBUNTU-CVE-2026-88340 | |
| Ubuntu 24.04 | yara | Under investigation | UBUNTU-CVE-2026-88340 | |
| Ubuntu 22.04 | yara | Fix pending | UBUNTU-CVE-2026-88340 | |
| Ubuntu 20.04 | yara | Fix pending | UBUNTU-CVE-2026-88340 | |
| Ubuntu 18.04 | yara | Fix pending | UBUNTU-CVE-2026-88340 | |
| Ubuntu 16.04 | yara | Fix pending | UBUNTU-CVE-2026-88340 | |
| Debian 14 | yara | Fix pending | DEBIAN-CVE-2026-88340 | |
| Debian 13 | yara | Fix pending | DEBIAN-CVE-2026-88340 | |
| Debian 12 | yara | Fix pending | DEBIAN-CVE-2026-88340 | |
| Red Hat Enterprise Linux 10 | yara | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | yara-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | yara | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | yara-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | yara | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | yara-devel | Fix pending Fix deferred |
References
- https://github.com/VirusTotal/yara/issues/2239
- https://github.com/VirusTotal/yara/pull/2244
- https://github.com/VirusTotal/yara/pull/2244/changes/8d7bef643ee5fa2381e235bcedf80170a6b00d3b
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.