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.
https://www.debian.org/security/2022/dsa-5306
https://talosintelligence.com/vulnerability_reports/TALOS-2021-1415