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.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | yara | No fix yet | — |
| Debian 13 | yara | No fix yet | — |
| Debian 12 | yara | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | yara | No fix yet | — |
| Ubuntu 26.04 LTS | yara | No fix yet | — |
| Ubuntu 24.04 LTS | yara | No fix yet | — |
Show 4 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 22.04 LTS | yara | No fix yet | — |
| Ubuntu Pro 20.04 LTS | yara | No fix yet | — |
| Ubuntu Pro 18.04 LTS | yara | No fix yet | — |
| Ubuntu Pro 16.04 LTS | yara | No fix yet | — |
Advisories 1
- WID-SEC-2026-3533 yara: Mehrere Schwachstellen ermöglichen Denial of Service BSI CERT-Bund (WID) · Sep 22, 2026