CVE-2021-40402: Gerbv Project Gerbv

High severity, CVSS 7.5. EPSS: 1.5% chance of exploitation in the next 30 days.

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.

Affected products

  • Gerbv Project Gerbv: version 2.7.0 only; version 2.7.1 only; version 2.8.0 only

Published 2022-04-14. Last modified 2026-06-17.