CVE-2021-3402

    Dashboard / Vulnerabilities / CVE-2021-3402

    CVE-2021-3402

    Published: 14 May 2021Last Modified: 8 Jul 2026

    Summary:

    Details: 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 packages

    Package

    Name:

    Purl:

    Affected ranges

    Type: GIT

    Events:

    Affected versions

    v4.0.3
    v4.0.2
    v4.0.1
    v4.0.0
    v4.0.0-rc3
    v4.0.0-rc2
    v4.0.0-rc1

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    CVE-2021-3402 | CVE-DB