Improper handling of exceptional conditions in Gerbv
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA. Impact type from CWE-787 and the CVSS impact.
Summary
An out-of-bounds write vulnerability exists in the drill format T-code tool number functionality of Gerbv 2.7.0, dev (commit b5f1eacd), and the forked version of Gerbv (commit 71493260). A specially-crafted drill file can lead to code execution. An attacker can provide a malicious file to trigger this vulnerability.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | Gerbv | Gerbv 2.7.0 , Gerbv dev (commit b5f1eacd) ,Gerbv forked dev (commit 71493260) | — | No fix listed | CNA |
- Gerbv Vendor— Affected Gerbv 2.7.0 , Gerbv dev (commit b5f1eacd) ,Gerbv forked dev (commit 71493260) Fixed in — No fix listed CNA
CPE configurations NVD · 5
| 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.0:forked_dev:*:*:*:*:*:* | 2.7.0 forked_dev | Vulnerable | Gerbv |
| cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* | 9.0 | Vulnerable | Debian |
| cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:* | 36 | Vulnerable | Fedoraproject |
- 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.0:forked_dev:*:*:*:*:*:* Versions 2.7.0 forked_dev Vulnerable ·Gerbv
- cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* Versions 9.0 Vulnerable ·Debian
- cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:* Versions 36 Vulnerable ·Fedoraproject
Remediation
No fixed version listed by the sources yet.
Vendor assessments
Timeline
- 2026-10-02 Threatist record created from CVE-2021-40391
- 2026-10-03 Alias added: GHSA-3x4w-8mh5-3xjq
References
Sources
- CVE-2021-40391 · CVE Program
- CVE-2021-40391 · NVD
- FIRST EPSS
- GHSA-3x4w-8mh5-3xjq · GitHub Advisory Database · CC BY 4.0
- CVE-2021-40391 · 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