CWE
125 755
Advisory Published
Updated

CVE-2021-40402

First published: Thu Apr 14 2022(Updated: )

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.

Credit: talos-cna@cisco.com

Affected SoftwareAffected VersionHow to fix
Gerbv=2.7.0
Gerbv=2.7.0-dev
Gerbv=2.7.1
Gerbv=2.8.0

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2021-40402?

    CVE-2021-40402 is rated as medium severity due to its potential for information disclosure through specially crafted Gerber files.

  • How do I fix CVE-2021-40402?

    To mitigate CVE-2021-40402, users should upgrade to Gerbv versions 2.7.2 or later which address the vulnerability.

  • Which versions of Gerbv are affected by CVE-2021-40402?

    CVE-2021-40402 affects Gerbv versions 2.7.0, 2.7.1, and 2.8.0.

  • What type of vulnerability is CVE-2021-40402?

    CVE-2021-40402 is classified as an out-of-bounds read vulnerability.

  • Can an attacker exploit CVE-2021-40402 remotely?

    Yes, an attacker can exploit CVE-2021-40402 by delivering a malicious Gerber file to the victim's system.

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.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203