Integer overflow in YARA - CVE-2021-3402

 

Integer overflow in YARA - CVE-2021-3402

Published: January 29, 2021 / Updated: March 9, 2026


Vulnerability identifier: #VU50140
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:P/U:Green
CVE-ID: CVE-2021-3402
CWE-ID: CWE-190
Exploitation vector: Remote access
Exploit availability: Public exploit is available
Vendor: VirusTotal
Affected software:
YARA

Detailed vulnerability description

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to integer overflow within the macho_parse_fat_file() function in the macho module. A remote attacker can pass specially crafted file to the application, trigger integer overflow and perform a denial of service (DoS) attack.


How to mitigate CVE-2021-3402

Install updates from vendor's website.

Sources