CVE-2021-40391

Source
https://cve.org/CVERecord?id=CVE-2021-40391
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-40391.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-40391
Downstream
Related
Published
2021-11-19T19:15:08.943Z
Modified
2026-03-14T11:08:32.599854Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Git / github.com/gerbv/gerbv

Affected ranges

Type
GIT
Repo
https://github.com/gerbv/gerbv
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Database specific
{
    "versions": [
        {
            "introduced": "0"
        },
        {
            "last_affected": "2.7.0-NA"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "2.7.0-dev"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "2.7.0-forked_dev"
        }
    ]
}

Affected versions

Other
gerbv-2-7-RELEASE
v2.*
v2.6.1
v2.7.0

Database specific

unresolved_ranges
[
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "9.0"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "36"
            }
        ]
    }
]
source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-40391.json"