{"api_version":"1","generated_at":"2026-07-23T14:35:32+00:00","cve":"CVE-2021-40393","urls":{"html":"https://cve.report/CVE-2021-40393","api":"https://cve.report/api/cve/CVE-2021-40393.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-40393","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-40393"},"summary":{"title":"CVE-2021-40393","description":"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.","state":"PUBLIC","assigner":"talos-cna@cisco.com","published_at":"2021-12-22 19:15:00","updated_at":"2023-11-07 03:38:00"},"problem_types":["CWE-787"],"metrics":[],"references":[{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/37OSNNO5N5FJZP6ZBYRJMML5HYMJQIX7/","name":"FEDORA-2023-5f5bea627b","refsource":"","tags":[],"title":"[SECURITY] Fedora 37 Update: gerbv-2.9.8-1.fc37 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://lists.debian.org/debian-lts-announce/2023/09/msg00040.html","name":"[debian-lts-announce] 20230930 [SECURITY] [DLA 3593-1] gerbv security update","refsource":"MLIST","tags":[],"title":"[SECURITY] [DLA 3593-1] gerbv security update","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.debian.org/security/2022/dsa-5306","name":"DSA-5306","refsource":"DEBIAN","tags":[],"title":"Debian -- Security Information -- DSA-5306-1 gerbv","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://talosintelligence.com/vulnerability_reports/TALOS-2021-1404","name":"https://talosintelligence.com/vulnerability_reports/TALOS-2021-1404","refsource":"MISC","tags":[],"title":"TALOS-2021-1404 ||  Cisco Talos Intelligence Group - Comprehensive Threat Intelligence","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/37OSNNO5N5FJZP6ZBYRJMML5HYMJQIX7/","name":"FEDORA-2023-5f5bea627b","refsource":"FEDORA","tags":[],"title":"[SECURITY] Fedora 37 Update: gerbv-2.9.8-1.fc37 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-40393","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-40393","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2021","cve_id":"40393","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"debian","cpe5":"debian_linux","cpe6":"10.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"40393","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"debian","cpe5":"debian_linux","cpe6":"11.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"40393","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"debian","cpe5":"debian_linux","cpe6":"9.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"40393","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"gerbv_project","cpe5":"gerbv","cpe6":"2.7.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2021-40393","qid":"181448","title":"Debian Security Update for gerbv (DSA 5306-1)"},{"cve":"CVE-2021-40393","qid":"184199","title":"Debian Security Update for gerbv (CVE-2021-40393)"},{"cve":"CVE-2021-40393","qid":"284423","title":"Fedora Security Update for gerbv (FEDORA-2023-5f5bea627b)"},{"cve":"CVE-2021-40393","qid":"6000041","title":"Debian Security Update for gerbv (DLA 3593-1)"}]},"source_records":{"cve_program":{"data_type":"CVE","data_format":"MITRE","data_version":"4.0","CVE_data_meta":{"ID":"CVE-2021-40393","ASSIGNER":"talos-cna@cisco.com","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"vendor_name":"n/a","product":{"product_data":[{"product_name":"Gerbv","version":{"version_data":[{"version_value":"Gerbv 2.7.0, Gerbv dev (commit b5f1eacd),Gerbv forked dev (commit 71493260)"}]}}]}}]}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer"}]}]},"references":{"reference_data":[{"refsource":"MISC","name":"https://talosintelligence.com/vulnerability_reports/TALOS-2021-1404","url":"https://talosintelligence.com/vulnerability_reports/TALOS-2021-1404"},{"refsource":"DEBIAN","name":"DSA-5306","url":"https://www.debian.org/security/2022/dsa-5306"},{"refsource":"FEDORA","name":"FEDORA-2023-5f5bea627b","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/37OSNNO5N5FJZP6ZBYRJMML5HYMJQIX7/"},{"refsource":"MLIST","name":"[debian-lts-announce] 20230930 [SECURITY] [DLA 3593-1] gerbv security update","url":"https://lists.debian.org/debian-lts-announce/2023/09/msg00040.html"}]},"description":{"description_data":[{"lang":"eng","value":"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."}]},"impact":{"cvss":{"baseScore":10,"baseSeverity":null,"vectorString":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","version":"3.0"}}},"nvd":{"publishedDate":"2021-12-22 19:15:00","lastModifiedDate":"2023-11-07 03:38:00","problem_types":["CWE-787"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":9.8,"baseSeverity":"CRITICAL"},"exploitabilityScore":3.9,"impactScore":5.9},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:P/I:P/A:P","accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL","baseScore":7.5},"severity":"HIGH","exploitabilityScore":10,"impactScore":6.4,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:gerbv_project:gerbv:2.7.0:*:*:*:*:*:*:*","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2021","CveId":"40393","Ordinal":"216127","Title":"CVE-2021-40393","CVE":"CVE-2021-40393","Year":"2021"},"notes":[{"CveYear":"2021","CveId":"40393","Ordinal":"1","NoteData":"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.","Type":"Description","Title":null},{"CveYear":"2021","CveId":"40393","Ordinal":"2","NoteData":"2021-12-22","Type":"Other","Title":"Published"},{"CveYear":"2021","CveId":"40393","Ordinal":"3","NoteData":"2021-12-22","Type":"Other","Title":"Modified"}]}}}