
CVE catalog
CVE-2021-40393
gerbv: CVE-2021-40393
- Severity
- Critical · CVSS 10
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 3.14% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | gerbv | sid | 2.10.0-2 | fixed |
| Debian | gerbv | trixie | 2.10.0-1 | fixed |
| Debian | gerbv | bookworm | 2.9.6-1 | fixed |
| Ubuntu | gerbv | pro | 2.7.0-2 | vulnerable |
| Ubuntu | gerbv | pro | 2.7.1-1 | vulnerable |
| Ubuntu | gerbv | pro | 2.8.0-1 | vulnerable |
| Ubuntu | gerbv | pro | 2.8.1-1 | vulnerable |
| Ubuntu | gerbv | pro | 2.8.2-1 | vulnerable |
| Ubuntu | gerbv | pro | 2.8.2-1ubuntu0.1~esm1 | fixed |
| Ubuntu | gerbv | 20.04 | 2.7.0-1 | vulnerable |
| Ubuntu | gerbv | 20.04 | 2.7.0-1ubuntu0.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | gerbv | source | sid | 2.8.2-1 | not yet assigned | Not reported | Not reported |
| Debian | gerbv | source | trixie | 2.8.2-1 | not yet assigned | Not reported | Not reported |
| Debian | gerbv | source | bookworm | 2.8.2-1 | not yet assigned | Not reported | Not reported |
| Ubuntu | gerbv | deb | pro | 2.8.2-1ubuntu0.1~esm1 | Not reported | UBUNTU-CVE-2021-40393 | Not reported |
| Ubuntu | gerbv | deb | 20.04 | 2.7.0-1ubuntu0.1 | Not reported | UBUNTU-CVE-2021-40393 | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [gerbv]Fixed
Details (2)
2.9.6-1· amd64 · bookwormFixed · Fixed:
2.8.2-1dsa · gerbv · debian · bookworm; dsa · gerbv · debian · 12
2.9.6-1· arm64 · bookwormFixed · Fixed:
2.8.2-1dsa · gerbv · debian · bookworm; dsa · gerbv · debian · 12
[Debian 13 (Trixie)]
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/opensuse-su-2024_12064-1.json]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2021-40393]
- [https://osv.dev/vulnerability/DLA-3593-1]
- [https://osv.dev/vulnerability/DSA-5306-1]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2021-40393]
- [https://security-tracker.debian.org/tracker/CVE-2021-40393]
[Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [SUSE security advisories and VEX]