What’s Vulnerable › Vulnerabilities
CVE-2021-40394
- Severity: critical (CVSS 9.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 3.0% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2021-12-22 · updated 2026-06-17
- Weakness: CWE-787
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.
Affected products
- Debian Linux: 9.0, 10.0, 11.0
- Gerbv: 2.7.0
References
- https://lists.debian.org/debian-lts-announce/2023/09/msg00040.html
- https://talosintelligence.com/vulnerability_reports/TALOS-2021-1404
- https://www.debian.org/security/2022/dsa-5306
- https://lists.debian.org/debian-lts-announce/2023/09/msg00040.html
- https://talosintelligence.com/vulnerability_reports/TALOS-2021-1404
- https://www.debian.org/security/2022/dsa-5306
Get alerted when CVE-2021-40394 or the next vulnerability affects your stack