CVE-2021-40394: Debian Linux

Critical severity, CVSS 9.8. EPSS: 2.9% chance of exploitation in the next 30 days.

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.

Affected products

  • Debian Debian Linux: version 9.0 only; version 10.0 only; version 11.0 only
  • Gerbv Project Gerbv: version 2.7.0 only

Published 2021-12-22. Last modified 2026-06-17.