CVE-2021-40394Gerbv Project Gerbv
Critical 9.8 No auth needed
Follow: this CVE · Gerbv Project · Gerbv Project Gerbv We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.1
- 9.8
- EPSS
- 3.0% probability of exploitation in 30 days · percentile 88
- Auth required
- No
- Published
- Dec 22, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-787
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Gerbv.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| gerbv_project | gerbv | 2.7.0 |
| debian | debian_linux | 9.0 |
| debian | debian_linux | 10.0 |
| debian | debian_linux | 11.0 |
Official sources
References
Links published by the sources. Open them with care.
- lists.debian.org
- talosintelligence.com Exploit Third Party Advisory
- www.debian.org Third Party Advisory