{"id":"CVE-2021-40394","aliases":["CVE-2021-40394"],"related":[],"kind":"vulnerability","state":"published","title":"An out-of-bounds write vulnerability exists in the RS-274X aperture macro variables handling functionality of Gerbv 2.7.0 and dev (commit b…","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"Se presenta una vulnerabilidad de escritura fuera de límites en la funcionalidad aperture macro variables handling de RS-274X de Gerbv versiones 2.7.0 y dev (commit b5f1eacd) y la versión forked de Gerbv (commit 71493260). 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":"2021-12-22T00:00:00.000Z","modified":"2026-06-17T04:06:51.390Z","severity":{"scorer":"talos","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/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:H/A:H","score":10,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","score":7.5,"rating":"HIGH"}],"cwes":["CWE-787"],"affected":[{"ranges":[{"version":"Gerbv 2.7.0,Gerbv dev (commit b5f1eacd), Gerbv forked dev (commit 71493260)","status":"affected"}],"product":"Gerbv","source":"cvelist"},{"ranges":[{"status":"affected","version":"2.7.0"}],"vendor":"gerbv_project","product":"gerbv","cpe":"cpe:2.3:a:gerbv_project:gerbv:2.7.0:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"9.0"},{"status":"affected","version":"10.0"},{"status":"affected","version":"11.0"}],"vendor":"debian","product":"debian_linux","cpe":"cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://talosintelligence.com/vulnerability_reports/TALOS-2021-1404","tags":["exploit","third-party-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"]},{"url":"https://lists.debian.org/debian-lts-announce/2023/09/msg00040.html","tags":["mailing-list","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"talos","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-40394","url":"https://www.cve.org/CVERecord?id=CVE-2021-40394","licence":"CVE Terms of Use","modified":"2024-08-04T02:44:09.654Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-40394","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-40394","licence":"Public domain","modified":"2026-06-17T04:06:51.390Z"}],"updatedAt":"2026-11-25T22:58:06.130Z","epss":{"score":0.02989,"percentile":0.87676,"date":"2026-12-01T12:00:22.000Z"}}