CVE-2021-40393
published critical CVSS 3.0 · 10.0gerbv: Gerbv RS-274X format aperture macro variables out-of-bounds write vulnerability
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | GerbvGerbv 2.7.0, Gerbv dev (commit b5f1eacd),Gerbv forked dev (commit 71493260) | Affected | Not stated | talos |
| Debian | bullseye | gerbv | Advisory build | 2.7.0-2+deb11u2 | DSA-5306-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gerbvaarch64 | Advisory build | 2.8.2-1.1 | OPENSUSE-SU-2024:12064-1 |
| Ubuntu | bionic | gerbv | Advisory build | 2.6.1-3ubuntu0.1~esm1 | USN-6209-1 |
| Debian | buster | gerbv | Advisory build | 2.7.0-1+deb10u3 | DLA-3593-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gerbvppc64le | Advisory build | 2.8.2-1.1 | OPENSUSE-SU-2024:12064-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gerbvs390x | Advisory build | 2.8.2-1.1 | OPENSUSE-SU-2024:12064-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gerbvx86_64 | Advisory build | 2.8.2-1.1 | OPENSUSE-SU-2024:12064-1 |
Show 12 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | gerbv-develaarch64 | Advisory build | 2.8.2-1.1 | OPENSUSE-SU-2024:12064-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gerbv-develppc64le | Advisory build | 2.8.2-1.1 | OPENSUSE-SU-2024:12064-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gerbv-devels390x | Advisory build | 2.8.2-1.1 | OPENSUSE-SU-2024:12064-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gerbv-develx86_64 | Advisory build | 2.8.2-1.1 | OPENSUSE-SU-2024:12064-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libgerbv1aarch64 | Advisory build | 2.8.2-1.1 | OPENSUSE-SU-2024:12064-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libgerbv1ppc64le | Advisory build | 2.8.2-1.1 | OPENSUSE-SU-2024:12064-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libgerbv1s390x | Advisory build | 2.8.2-1.1 | OPENSUSE-SU-2024:12064-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libgerbv1x86_64 | Advisory build | 2.8.2-1.1 | OPENSUSE-SU-2024:12064-1 |
| Ubuntu | esm | gerbv | Advisory build | 2.6.0-1ubuntu0.14.04.1~esm1 | USN-6209-1 |
| Ubuntu | focal | gerbv | Advisory build | 2.7.0-1ubuntu0.1 | USN-6209-1 |
| Ubuntu | jammy | gerbv | Advisory build | 2.8.2-1ubuntu0.1~esm1 | USN-6209-1 |
| Ubuntu | xenial | gerbv | Advisory build | 2.6.0-1ubuntu0.16.04.1~esm1 | USN-6209-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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.0
- Base score
- 10.0 / 10
- Severity
- critical
- Provider
- talos · cna
- Vector string
- CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | Gerbv | Gerbv 2.7.0, Gerbv dev (commit b5f1eacd),Gerbv forked dev (commit 71493260) (affected) | talos · cna |
Weaknesses
1- CWE-119 CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer
References
4- [debian-lts-announce] 20230930 [SECURITY] [DLA 3593-1] gerbv security update https://lists.debian.org/debian-lts-announce/2023/09/msg00040.html
- FEDORA-2023-5f5bea627b https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/37OSNNO5N5FJZP6ZBYRJMML5HYMJQIX7/
- https://talosintelligence.com/vulnerability_reports/TALOS-2021-1404
- DSA-5306 https://www.debian.org/security/2022/dsa-5306
Provider assertions
2talos · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- a1450f1c7828e5a0144a83e4d98b786974f4a75ba4fdf562930bcd45cdb3b253
- Ingested
- 23 Sep 2026, 07:55:59 UTC
- Source record
- Official CVE record