Security readout for executives and security teams
Plain-English summary
Gerbv can read past expected memory while processing a specially crafted Gerber RS-274X file. This can disclose information and may cause high availability impact. The business risk is concentrated where Gerbv processes untrusted PCB design files, especially automated intake or review workflows.
Executive priority
Prioritize remediation where Gerbv touches external design files or automated intake pipelines. The vulnerability is rated critical by CVSS, but the provided sources do not show active exploitation or a named fix.
Technical view
CVE-2021-40402 is an out-of-bounds read in Gerbv RS-274X aperture macro multiple outline primitives handling. Reported affected versions are Gerbv 2.7.0, dev commit b5f1eacd, and forked 2.7.1 and 2.8.0. The source bundle cites CVSS 3.0 score 9.3 and CWE-755.
Likely exposure
Exposure is likely in engineering, PCB review, manufacturing, or CI workflows using affected Gerbv builds to parse Gerber files from customers, suppliers, or public submissions.
Exploitation context
The bundle says an attacker can provide a malicious Gerber file to trigger the issue. It does not cite CISA KEV listing or other evidence of active exploitation.
Researcher notes
Evidence is limited to the CVE bundle and Talos reference. Treat affected-version matching carefully because the bundle distinguishes upstream Gerbv and forked releases. Do not assume other versions are affected without vendor confirmation.
Mitigation direction
- Inventory Gerbv usage across workstations, servers, CI jobs, and manufacturing pipelines.
- Avoid processing untrusted Gerber files with affected versions.
- Check Gerbv and Talos guidance for fixed versions or vendor-recommended mitigations.
- Run Gerbv file processing in isolated, least-privilege environments.
- Add file provenance controls for supplier or customer Gerber uploads.
Validation and detection
- Confirm installed Gerbv versions against 2.7.0, dev b5f1eacd, 2.7.1, and 2.8.0 forked builds.
- Identify workflows where Gerbv parses externally supplied RS-274X Gerber files.
- Review crash, parser error, and memory-fault logs around Gerber file processing.
- Verify mitigations by checking version inventory and isolation controls.
Public sources used
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
CWE-755: Exact CWE lookup
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
Open ATT&CK lookupCVE-2021-40402 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
Open ATT&CK lookup- Severity
- Critical
- CVSS
- 9.3 (3.0)
- Known Exploited
- No
- Published
Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:H
CNA and ADP enrichment extracted from CVE v5
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
CVSS vector scores
1 official scoreWe collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:H3.94.7Primary CVE scoreVulnerability scoring details
Base CVSS 3.0 score
9.3CriticalVector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:H
Source materials
- CVE List V5 sourceCVE List V5
- https://talosintelligence.com/vulnerability_reports/TALOS-2021-1416CVE reference · x_refsource_MISC
Products and packages named in the record
CWE details
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
Improper Handling of Exceptional Conditions
Improper Handling of Exceptional Conditions represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.
