Memory corruption 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 outline primitive functionality of Gerbv 2.7.0 and dev (commit b5f1eacd) and the forked version of Gerbv (commit d7f42a9a). 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 | dev (commit d7f42a9a) | — | No fix listed | CNA |
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-02 Threatist record created from CVE-2021-40400
- 2026-10-03 Alias added: GHSA-6c2w-p226-q9q8
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-17466 Improper handling of exceptional conditions 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-40400 · CVE Program
- CVE-2021-40400 · NVD
- FIRST EPSS
- GHSA-6c2w-p226-q9q8 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences