CVE-2021-3402

CRITICAL
9.1
CVSS Score
Published: May 14, 2021 at 08:05 PM UTC
Updated: June 17, 2026 at 04:05 AM UTC
2 products affected across 2 vendorsFedoraYara

Using libyara by N/A?

Get instant alerts when new vulnerabilities affect libyara - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
CRITICAL9.1
Exploit prediction
EPSS 2%

Description

An integer overflow and several buffer overflow reads in libyara/modules/macho/macho.c in YARA v4.0.3 and earlier could allow an attacker to either cause denial of service or information disclosure via a malicious Mach-O file. Affects all versions before libyara 4.0.4

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 4.0.44.0.4
Affected range stops below 4.0.4, so it looks safe — our inference, not a vendor statement

CVSS

Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-190

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card