{"id":"CVE-2021-40401","aliases":["CVE-2021-40401"],"related":[],"kind":"vulnerability","state":"published","title":"A use-after-free vulnerability exists in the RS-274X aperture definition tokenization functionality of Gerbv 2.7.0 and dev (commit b5f1eacd…","summary":"A use-after-free vulnerability exists in the RS-274X aperture definition tokenization functionality of Gerbv 2.7.0 and dev (commit b5f1eacd) and Gerbv forked 2.7.1. A specially-crafted gerber file can lead to code execution. An attacker can provide a malicious file to trigger this vulnerability.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"A use-after-free vulnerability exists in the RS-274X aperture definition tokenization functionality of Gerbv 2.7.0 and dev (commit b5f1eacd) and Gerbv forked 2.7.1. A specially-crafted gerber file can lead to code execution. An attacker can provide a malicious file to trigger this vulnerability.","source":"cvelist"},{"lang":"es","text":"Se presenta una vulnerabilidad de uso de memoria previamente liberada en la funcionalidad RS-274X aperture definition tokenization de Gerbv versiones 2.7.0 y dev (commit b5f1eacd) y Gerbv forked versión 2.7.1. Un archivo gerber especialmente diseñado puede conllevar a una ejecución de código. Un atacante puede proporcionar un archivo malicioso para desencadenar esta vulnerabilidad","source":"nvd"}],"published":"2022-02-04T00:00:00.000Z","modified":"2026-06-17T04:06:52.083Z","severity":{"scorer":"talos","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:H","score":10,"rating":"CRITICAL"},"severities":[{"scorer":"talos","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:H","score":10,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","score":8.6,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","score":6.8,"rating":"MEDIUM"}],"cwes":["CWE-252"],"affected":[{"ranges":[{"version":"Gerbv 2.7.0 ,Gerbv forked 2.7.1 ,Gerbv dev (commit b5f1eacd)","status":"affected"}],"product":"Gerbv","source":"cvelist"},{"ranges":[{"status":"affected","version":"2.7.0"},{"status":"affected","version":"2.7.1"}],"vendor":"gerbv_project","product":"gerbv","cpe":"cpe:2.3:a:gerbv_project:gerbv:2.7.0:-:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"36"}],"vendor":"fedoraproject","product":"fedora","cpe":"cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"11.0"}],"vendor":"debian","product":"debian_linux","cpe":"cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://talosintelligence.com/vulnerability_reports/TALOS-2021-1415","tags":["exploit","third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TUM5GIUZJ7AVHVCXDZW6ZVCAPV2ISN47/","tags":["vendor-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://www.debian.org/security/2022/dsa-5306","tags":["third-party-advisory","vendor-advisory","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"talos","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"partial","date":"2025-04-15T18:20:19.999Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-40401","url":"https://www.cve.org/CVERecord?id=CVE-2021-40401","licence":"CVE Terms of Use","modified":"2025-04-15T19:12:05.941Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-40401","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-40401","licence":"Public domain","modified":"2026-06-17T04:06:52.083Z"}],"updatedAt":"2026-11-25T22:58:06.781Z","epss":{"score":0.01367,"percentile":0.72668,"date":"2026-12-01T12:00:22.000Z"}}