{"id":"CVE-2021-40402","details":"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.","modified":"2026-04-10T04:38:16.953502Z","published":"2022-04-14T20:15:08.890Z","references":[{"type":"EVIDENCE","url":"https://talosintelligence.com/vulnerability_reports/TALOS-2021-1416"}],"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":"96e82fe9c1f235e2b8eb9422ab4659c188d96b75"},{"introduced":"0"},{"last_affected":"e0c64540ff3ede9eabc199c073df8598fb4d12dd"}],"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.1-NA"},{"introduced":"0"},{"last_affected":"2.8.0-NA"}]}}],"versions":["gerbv-2-7-1-RELEASE","gerbv-2-7-RELEASE","gerbv-2-8-0-RC-1","v2.6.1","v2.7.0","v2.7.1","v2.8.0","v2.8.0-rc.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-40402.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:N/A:N"}]}