CVE-2021-40401
CVE-2021-40401 is a high-severity vulnerability in Gerbv Project Gerbv with a CVSS 3.x base score of 8.6. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-252.
Key facts
- Severity: High (CVSS 3.x base score 8.6)
- CVSS v2: 6.8
- EPSS exploit prediction: 1% (67th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-252
- Affected product: Gerbv Project Gerbv
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2021-40401?
- 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.
- How severe is CVE-2021-40401?
- CVE-2021-40401 has a CVSS 3.x base score of 8.6, rated high severity. It is exploitable over local access with low attack complexity, requires no privileges and user interaction. Impact on confidentiality is high, integrity high, and availability high.
- Is CVE-2021-40401 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (67th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2021-40401?
- CVE-2021-40401 primarily affects Gerbv Project Gerbv. In total, 4 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2021-40401?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- When was CVE-2021-40401 published?
- CVE-2021-40401 was published on 2022-02-04 and last updated on 2026-06-17.
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
Affected products (4)
- cpe:2.3:a:gerbv_project:gerbv:2.7.0:-:*:*:*:*:*:*
- cpe:2.3:a:gerbv_project:gerbv:2.7.1:forked_dev:*:*:*:*:*:*
- cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*
- cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*
More vulnerabilities in Gerbv Project Gerbv
- CVE-2021-40394 — Critical (CVSS 9.8): An out-of-bounds write vulnerability exists in the RS-274X aperture macro variables handling functionality of Gerbv…
- CVE-2021-40393 — Critical (CVSS 9.8): An out-of-bounds write vulnerability exists in the RS-274X aperture macro variables handling functionality of Gerbv…
- CVE-2021-40391 — Critical (CVSS 9.8): An out-of-bounds write vulnerability exists in the drill format T-code tool number functionality of Gerbv 2.7.0, dev…
- CVE-2021-40402 — High (CVSS 7.5): An out-of-bounds read vulnerability exists in the RS-274X aperture macro multiple outline primitives functionality of…
- CVE-2021-40400 — High (CVSS 7.5): An out-of-bounds read vulnerability exists in the RS-274X aperture macro outline primitive functionality of Gerbv 2.7.0…
- CVE-2021-40403 — Medium (CVSS 6.3): An information disclosure vulnerability exists in the pick-and-place rotation parsing functionality of Gerbv 2.7.0 and…
All CVEs affecting Gerbv Project Gerbv →
Other CWE-252 vulnerabilities
- CVE-2025-66565 — Critical (CVSS 9.8): Fiber Utils is a collection of common functions created for Fiber. In versions 2.0.0-rc.3 and below, when the system's…
- CVE-2021-38171 — Critical (CVSS 9.8): adts_decode_extradata in libavformat/adtsenc.c in FFmpeg 4.4 does not check the init_get_bits return value, which is a…
- CVE-2021-26955 — Critical (CVSS 9.8): An issue was discovered in the xcb crate through 2021-02-04 for Rust. It has a soundness violation because…
- CVE-1999-0199 — Critical (CVSS 9.8): manual/search.texi in the GNU C Library (aka glibc) before 2.2 lacks a statement about the unspecified tdelete return…
- CVE-2019-15900 — Critical (CVSS 9.8): An issue was discovered in slicer69 doas before 6.2 on certain platforms other than OpenBSD. On platforms without…
- CVE-2010-0211 — Critical (CVSS 9.8): The slap_modrdn2mods function in modrdn.c in OpenLDAP 2.4.22 does not check the return value of a call to the…