Improper handling of exceptional conditions in Gerbv
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA. Impact type from CWE-125 and the CVSS impact.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Gerbv | Gerbv | 2.7.0; dev (commit b5f1eacd) | — | No fix listed | CNA |
| Gerbv | Gerbv forked | 2.7.1; 2.8.0 | — | No fix listed | CNA |
- Gerbv VendorGerbv Affected 2.7.0; dev (commit b5f1eacd) Fixed in — No fix listed CNA
- Gerbv forked VendorGerbv Affected 2.7.1; 2.8.0 Fixed in — No fix listed CNA
CPE configurations NVD · 4
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:gerbv_project:gerbv:2.7.0:-:*:*:*:*:*:* | 2.7.0 | Vulnerable | Gerbv |
| cpe:2.3:a:gerbv_project:gerbv:2.7.0:dev:*:*:*:*:*:* | 2.7.0 dev | Vulnerable | Gerbv |
| cpe:2.3:a:gerbv_project:gerbv:2.7.1:-:*:*:*:*:*:* | 2.7.1 | Vulnerable | Gerbv |
| cpe:2.3:a:gerbv_project:gerbv:2.8.0:-:*:*:*:*:*:* | 2.8.0 | Vulnerable | Gerbv |
- cpe:2.3:a:gerbv_project:gerbv:2.7.0:-:*:*:*:*:*:* Versions 2.7.0 Vulnerable ·Gerbv
- cpe:2.3:a:gerbv_project:gerbv:2.7.0:dev:*:*:*:*:*:* Versions 2.7.0 dev Vulnerable ·Gerbv
- cpe:2.3:a:gerbv_project:gerbv:2.7.1:-:*:*:*:*:*:* Versions 2.7.1 Vulnerable ·Gerbv
- cpe:2.3:a:gerbv_project:gerbv:2.8.0:-:*:*:*:*:*:* Versions 2.8.0 Vulnerable ·Gerbv
Remediation
No fixed version listed by the sources yet.
Vendor assessments
Timeline
- 2026-10-02 Threatist record created from CVE-2021-40402
- 2026-10-03 Alias added: GHSA-8x52-mcj6-x4gh
References
More Gerbv vulnerabilities
- TI-2021-17465 A use-after-free vulnerability exists in the RS-274X aperture definition tokenization… CVSS 3.1HIGH 8.6
- TI-2021-17464 Memory corruption in Gerbv CVSS 3.1HIGH 7.5
- TI-2021-17467 Missing initialization of resource in Gerbv CVSS 3.1MEDIUM 6.3
- TI-2021-17458 Memory corruption in Gerbv CVSS 3.1CRITICAL 9.8
- TI-2021-17459 Out-of-bounds write in Gerbv CVSS 3.1CRITICAL 9.8
- TI-2021-17456 Improper handling of exceptional conditions in Gerbv CVSS 3.1CRITICAL 9.8
Sources
- CVE-2021-40402 · CVE Program
- CVE-2021-40402 · NVD
- FIRST EPSS
- GHSA-8x52-mcj6-x4gh · GitHub Advisory Database · CC BY 4.0
- CVE-2021-40402 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences