Description
libyara/lexer.l in YARA 3.5.0 allows remote attackers to cause a denial of service (NULL pointer dereference and application crash) via a crafted rule that is mishandled in the yy_get_next_buffer function.
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 | 3.5.0+dfsg-9 | — |
| Debian 13 | yara | 3.5.0+dfsg-9 | — |
| Debian 12 | yara | 3.5.0+dfsg-9 | — |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | yara | 4.1.1-1.2 | openSUSE-SU-2024:11530-1 |
Advisories 1
- openSUSE-SU-2024:11530-1 libyara-devel-4.1.1-1.2 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026