CVE-2021-40393

CRITICAL

Gerbv <2.7.0 - Code Injection

Title source: llm
STIX 2.1

Description

An out-of-bounds write vulnerability exists in the RS-274X aperture macro variables handling functionality of Gerbv 2.7.0 and dev (commit b5f1eacd) and the forked version of Gerbv (commit 71493260). A specially-crafted gerber file can lead to code execution. An attacker can provide a malicious file to trigger this vulnerability.

Scores

CVSS v3 9.8
EPSS 0.0306
EPSS Percentile 86.0%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Details

CWE
CWE-119 CWE-787
Status published
Products (4)
debian/debian_linux 9.0
debian/debian_linux 10.0
debian/debian_linux 11.0
gerbv_project/gerbv 2.7.0
Published Dec 22, 2021
Tracked Since Feb 18, 2026