What’s Vulnerable › Vulnerabilities
CVE-2021-40401
- Severity: high (CVSS 8.6 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.3% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2022-02-04 · updated 2026-06-17
- Weakness: CWE-252
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.
Affected products
- Debian Linux: 11.0
- Fedoraproject Fedora: 36
- Gerbv: 2.7.0, 2.7.1-forked_dev
References
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TUM5GIUZJ7AVHVCXDZW6ZVCAPV2ISN47/
- https://talosintelligence.com/vulnerability_reports/TALOS-2021-1415
- https://www.debian.org/security/2022/dsa-5306
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TUM5GIUZJ7AVHVCXDZW6ZVCAPV2ISN47/
- https://talosintelligence.com/vulnerability_reports/TALOS-2021-1415
- https://www.debian.org/security/2022/dsa-5306
Get alerted when CVE-2021-40401 or the next vulnerability affects your stack