{"id":"CVE-2021-40402","aliases":["DEBIAN-CVE-2021-40402","EUVD-2021-27579","GHSA-8x52-mcj6-x4gh","UBUNTU-CVE-2021-40402"],"status":"published","title":"An out-of-bounds read vulnerability exists in the RS-274X aperture macro multiple outline...","description":"An out-of-bounds read vulnerability exists in the RS-274X aperture macro multiple outline primitives functionality of Gerbv 2.7.0 and dev (commit b5f1eacd), and Gerbv forked 2.7.1 and 2.8.0. A specially-crafted Gerber file can lead to information disclosure. An attacker can provide a malicious file to trigger this vulnerability.","severity":{"version":"3.0","score":9.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:H","level":"critical","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-10","score":0.01484,"percentile":0.74201,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-125","CWE-755"],"published":"2022-04-14T19:56:14Z","modified":"2026-10-24T10:30:46Z","affected":[{"source":"osv","ecosystem":"Debian:12","package":"gerbv","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.10.0-1","2.10.0-2","2.9.6-1","2.9.8-1"]},{"source":"osv","ecosystem":"Debian:13","package":"gerbv","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.10.0-1","2.10.0-2"]},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"gerbv","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.6.0-1","2.6.0-1ubuntu0.16.04.1~esm1","2.6.0-1ubuntu0.16.04.1~esm2"]},{"source":"osv","ecosystem":"Ubuntu:Pro:18.04:LTS","package":"gerbv","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.6.1-2","2.6.1-3","2.6.1-3ubuntu0.1~esm1","2.6.1-3ubuntu0.1~esm2"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"gerbv","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.7.0-1","2.7.0-1ubuntu0.1","2.7.0-1ubuntu0.2"]},{"source":"osv","ecosystem":"Ubuntu:Pro:22.04:LTS","package":"gerbv","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.7.0-2","2.7.1-1","2.8.0-1","2.8.1-1","2.8.2-1","2.8.2-1ubuntu0.1~esm1","2.8.2-1ubuntu0.1~esm2"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"gerbv","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.9.8-1","2.10.0-1","2.10.0-1build1","2.10.0-1build2"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"gerbv","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.10.0-1build2","2.10.0-2"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"gerbv","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.10.0-2build1"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"gerbv","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.10.0-2","2.10.0-2build1"]}],"products":[{"vendor":"gerbv","product":"gerbv"},{"vendor":"gerbv","product":"gerbv forked"},{"vendor":"gerbv_project","product":"gerbv"}],"references":[{"url":"https://talosintelligence.com/vulnerability_reports/TALOS-2021-1416","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-40402"},{"url":"https://github.com/advisories/GHSA-8x52-mcj6-x4gh"},{"url":"https://security-tracker.debian.org/tracker/CVE-2021-40402","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2021-40402","tags":["report"]},{"url":"https://github.com/gerbv/gerbv/issues/80","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-40402","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2021-40402","description":"An out-of-bounds read vulnerability exists in the RS-274X aperture macro multiple outline primitives functionality of Gerbv 2.7.0 and dev (commit b5f1eacd), and Gerbv forked 2.7.1 and 2.8.0. A specially-crafted Gerber file can lead to information disclosure. An attacker can provide a malicious file to trigger this vulnerability.","status":"published","published":"2022-04-14T19:56:14.14Z","modified":"2025-04-15T19:07:40.254Z","cvss":[{"version":"3.0","score":9.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:H","level":"critical","assessor":"cna"}],"cwes":["CWE-755"],"updated_at":"2026-11-02T14:33:01.495293Z"}],"euvd":[{"id":"EUVD-2021-27579","description":"An out-of-bounds read vulnerability exists in the RS-274X aperture macro multiple outline primitives functionality of Gerbv 2.7.0 and dev (commit b5f1eacd), and Gerbv forked 2.7.1 and 2.8.0. A specially-crafted Gerber file can lead to information disclosure. An attacker can provide a malicious file to trigger this vulnerability.","status":"published","published":"2022-04-14T19:56:14Z","modified":"2025-04-15T19:07:40Z","cvss":[{"version":"3.0","score":9.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:H","level":"critical"}],"updated_at":"2026-11-02T20:52:26.772603Z"}],"ghsa":[{"id":"GHSA-8x52-mcj6-x4gh","title":"An out-of-bounds read vulnerability exists in the RS-274X aperture macro multiple outline...","description":"An out-of-bounds read vulnerability exists in the RS-274X aperture macro multiple outline primitives functionality of Gerbv 2.7.0 and dev (commit b5f1eacd), and Gerbv forked 2.7.1 and 2.8.0. A specially-crafted Gerber file can lead to information disclosure. An attacker can provide a malicious file to trigger this vulnerability.","status":"published","published":"2022-04-15T00:00:39Z","modified":"2023-01-27T05:01:34Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high"}],"cwes":["CWE-125"],"updated_at":"2026-11-02T14:41:55.795759Z"}],"nvd":[{"id":"CVE-2021-40402","description":"An out-of-bounds read vulnerability exists in the RS-274X aperture macro multiple outline primitives functionality of Gerbv 2.7.0 and dev (commit b5f1eacd), and Gerbv forked 2.7.1 and 2.8.0. A specially-crafted Gerber file can lead to information disclosure. An attacker can provide a malicious file to trigger this vulnerability.","status":"published","published":"2022-04-14T20:15:08.89Z","modified":"2026-06-17T04:06:52.2Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high","assessor":"primary"},{"version":"3.0","score":9.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:H","level":"critical","assessor":"secondary"},{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:P/I:N/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-755","CWE-125"],"updated_at":"2026-11-02T14:07:06.029737Z"}],"osv":[{"id":"CVE-2021-40402","description":"An out-of-bounds read vulnerability exists in the RS-274X aperture macro multiple outline primitives functionality of Gerbv 2.7.0 and dev (commit b5f1eacd), and Gerbv forked 2.7.1 and 2.8.0. A specially-crafted Gerber file can lead to information disclosure. An attacker can provide a malicious file to trigger this vulnerability.","status":"published","published":"2022-04-14T20:15:08.89Z","modified":"2026-10-24T10:30:46.603655339Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high"}],"updated_at":"2026-11-02T15:44:21.249056Z"},{"id":"DEBIAN-CVE-2021-40402","description":"An out-of-bounds read vulnerability exists in the RS-274X aperture macro multiple outline primitives functionality of Gerbv 2.7.0 and dev (commit b5f1eacd), and Gerbv forked 2.7.1 and 2.8.0. A specially-crafted Gerber file can lead to information disclosure. An attacker can provide a malicious file to trigger this vulnerability.","status":"published","published":"2022-04-14T20:15:08.89Z","modified":"2026-10-23T18:04:50.527634352Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high"}],"updated_at":"2026-11-02T15:45:35.521549Z"},{"id":"UBUNTU-CVE-2021-40402","description":"An out-of-bounds read vulnerability exists in the RS-274X aperture macro multiple outline primitives functionality of Gerbv 2.7.0 and dev (commit b5f1eacd), and Gerbv forked 2.7.1 and 2.8.0. A specially-crafted Gerber file can lead to information disclosure. An attacker can provide a malicious file to trigger this vulnerability.","status":"published","published":"2022-04-14T20:15:00Z","modified":"2026-10-17T12:56:21.519578707Z","cvss":[{"version":"3.0","score":9.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:H","level":"critical"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high"}],"updated_at":"2026-11-02T15:54:29.220315Z"}]}}
