{"id":"CVE-2021-40393","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.","modified":"2026-07-08T06:03:34.377305713Z","published":"2021-12-22T19:15:11.420Z","related":["openSUSE-SU-2024:12064-1"],"database_specific":{"unresolved_ranges":[{"cpes":["cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*","cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*","cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*"],"extracted_events":[{"introduced":"9.0"},{"last_affected":"9.0"},{"introduced":"10.0"},{"last_affected":"10.0"},{"introduced":"11.0"},{"last_affected":"11.0"}],"source":"CPE_STRING","vendor_product":"debian:debian_linux"}]},"references":[{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2023/09/msg00040.html"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/37OSNNO5N5FJZP6ZBYRJMML5HYMJQIX7/"},{"type":"ADVISORY","url":"https://www.debian.org/security/2022/dsa-5306"},{"type":"EVIDENCE","url":"https://talosintelligence.com/vulnerability_reports/TALOS-2021-1404"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/gerbv/gerbv","events":[{"introduced":"3c70dc88260086e303ff8722dc9e6aec73e3b7e2"},{"last_affected":"3c70dc88260086e303ff8722dc9e6aec73e3b7e2"}],"database_specific":{"cpe":"cpe:2.3:a:gerbv_project:gerbv:2.7.0:*:*:*:*:*:*:*","extracted_events":[{"introduced":"2.7.0"},{"last_affected":"2.7.0"}],"source":"CPE_STRING"}}],"versions":["2.7.0","v2.7.0","gerbv-2-7-RELEASE"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-40393.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}