CVE-2021-40394

Source
https://nvd.nist.gov/vuln/detail/CVE-2021-40394
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-40394.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-40394
Downstream
Related
Published
2021-12-22T19:15:11Z
Modified
2025-10-21T06:33:23.670475Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Git / github.com/gerbv/gerbv

Affected ranges

Type
GIT
Repo
https://github.com/gerbv/gerbv
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected

Affected versions

Other

gerbv-2-7-RELEASE

v2.*

v2.6.1
v2.7.0