{"id":"CVE-2021-40391","details":"An out-of-bounds write vulnerability exists in the drill format T-code tool number functionality of Gerbv 2.7.0, dev (commit b5f1eacd), and the forked version of Gerbv (commit 71493260). A specially-crafted drill file can lead to code execution. An attacker can provide a malicious file to trigger this vulnerability.","modified":"2026-03-13T05:10:15.428493Z","published":"2021-11-19T19:15:08.943Z","related":["MGASA-2022-0260","openSUSE-SU-2024:12064-1"],"references":[{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TUM5GIUZJ7AVHVCXDZW6ZVCAPV2ISN47/"},{"type":"ADVISORY","url":"https://lists.debian.org/debian-lts-announce/2021/12/msg00003.html"},{"type":"EVIDENCE","url":"https://www.talosintelligence.com/vulnerability_reports/TALOS-2021-1402"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/gerbv/gerbv","events":[{"introduced":"0"},{"last_affected":"3c70dc88260086e303ff8722dc9e6aec73e3b7e2"},{"introduced":"0"},{"last_affected":"3c70dc88260086e303ff8722dc9e6aec73e3b7e2"},{"introduced":"0"},{"last_affected":"3c70dc88260086e303ff8722dc9e6aec73e3b7e2"}],"database_specific":{"versions":[{"introduced":"0"},{"last_affected":"2.7.0-NA"},{"introduced":"0"},{"last_affected":"2.7.0-dev"},{"introduced":"0"},{"last_affected":"2.7.0-forked_dev"}]}}],"versions":["gerbv-2-7-RELEASE","v2.6.1","v2.7.0"],"database_specific":{"unresolved_ranges":[{"events":[{"introduced":"0"},{"last_affected":"9.0"}]},{"events":[{"introduced":"0"},{"last_affected":"36"}]}],"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-40391.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"}]}