CVE-2021-40401

    Dashboard / Vulnerabilities / CVE-2021-40401

    CVE-2021-40401

    Published: 4 Feb 2022Last Modified: 20 Oct 2026

    Summary:

    Details: A use-after-free vulnerability exists in the RS-274X aperture definition tokenization functionality of Gerbv 2.7.0 and dev (commit b5f1eacd) and Gerbv forked 2.7.1. A specially-crafted gerber file can lead to code execution. An attacker can provide a malicious file to trigger this vulnerability.

    Affected packages

    Package

    Name:

    Purl:

    Affected ranges

    Type: GIT

    Events:

    Introduced- 3c70dc88260086e303ff8722dc9e6aec73e3b7e2
    Fixed -None

    Affected versions

    2.7.0-NA
    2.7.1-forked_dev

    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-40401 | CVE-DB