# CVE-2021-40400: An out-of-bounds read vulnerability exists in the RS-274X aperture macro outline primitive functionality of Gerbv 2.7.0 and dev (commit b5f…

- Severity: Critical 9.3 (CVSS:3.0, scored by talos) `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.29%, higher than 71% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-04-14T19:56:12.636Z
- Modified: 2026-06-17T04:06:51.967Z
- Weaknesses: CWE-119, CWE-125
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: talos

## Description

An out-of-bounds read vulnerability exists in the RS-274X aperture macro outline primitive functionality of Gerbv 2.7.0 and dev (commit b5f1eacd) and the forked version of Gerbv (commit d7f42a9a). A specially-crafted Gerber file can lead to information disclosure. An attacker can provide a malicious file to trigger this vulnerability.

(As written by CVE List.)

## Affected

- Gerbv Gerbv: 2.7.0; dev  (commit b5f1eacd)
- Gerbv Gerbv forked: dev (commit d7f42a9a)
- gerbv_project gerbv: 2.7.0

## Every score

- talos: CVSS:3.0 9.3 Critical `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:H`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:P/I:N/A:N`

## References

- <https://talosintelligence.com/vulnerability_reports/TALOS-2021-1413> (exploit, third-party-advisory)

## Sources

- CVE List: [CVE-2021-40400](https://www.cve.org/CVERecord?id=CVE-2021-40400), CVE Terms of Use, modified 2025-04-15
- NVD: [CVE-2021-40400](https://nvd.nist.gov/vuln/detail/CVE-2021-40400), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-40400 · Whole record: https://cve.day/CVE-2021-40400.json · Rebuilt by cve.day 2026-11-25T22:58:07.382Z
