CVE-2021-40394: Critical severity gerbv vulnerability

Published Dec 22, 2021
·
Updated

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 Software

5 affected componentsFixes available
debian/gerbv<=2.7.0-1+deb10u1
2.7.0-1+deb10u32.7.0-2+deb11u22.9.6-12.10.0-1
Gerbv Project Gerbv=2.7.0
Debian Debian Linux=9.0
Debian Debian Linux=10.0
Debian Debian Linux=11.0

Event History

Dec 22, 2021
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What is the severity of CVE-2021-40394?

CVE-2021-40394 is classified as a high severity vulnerability due to its potential for remote code execution.

2

How do I fix CVE-2021-40394?

To fix CVE-2021-40394, update Gerbv to version 2.7.0-2 or later for Debian systems.

3

What are the affected software versions for CVE-2021-40394?

The affected software versions for CVE-2021-40394 include Gerbv versions up to 2.7.0-1+deb10u1.

4

Can CVE-2021-40394 lead to code execution?

Yes, CVE-2021-40394 can lead to arbitrary code execution when a malicious gerber file is processed.

5

Is CVE-2021-40394 present in all versions of Gerbv?

No, CVE-2021-40394 is specific to Gerbv versions 2.7.0 and certain forked versions.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203