CVE-2021-40401

Published Feb 4, 2022 CVSS 3.1 · 8.6 High EPSS 1.3% KEV · Not listed
Description
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-3210-1 gerbv security update
Debian DSA Debian DSA DSA-5306-1 gerbv security update
EUVD EUVD EUVD-2021-27578 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.
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Metrics epss

{'score': 0.00233}

epss

{'score': 0.00264}

Weaknesses

Sources

Status
PUBLISHED
Assigner
talos
Published
Updated
Apr 15, 2025, 7:12 PM
Reserved
Sep 1, 2021, 12:00 AM
Status
Modified
Published
Feb 4, 2022, 11:15 PM
Modified
Jun 17, 2026, 4:06 AM