Use After Free in GitHub repository vim/vim prior to 9.0.0046.
{
"cwe_ids": [
"CWE-416"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/2xxx/CVE-2022-2345.json",
"cna_assigner": "@huntrdev"
}{
"cpe": "cpe:2.3:a:vim:vim:*:*:*:*:*:*:*:*",
"extracted_events": [
{
"introduced": "0"
},
{
"fixed": "9.0.0046"
}
],
"source": [
"CPE_FIELD",
"REFERENCES"
]
}"2026-04-26T12:02:43Z"
[
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"286930870213891821752998541299503376526",
"229526494008486056451456719906126533677",
"112842319275923162231746370142752232329",
"202319148440419846838018486742691867911"
]
},
"signature_type": "Line",
"signature_version": "v1",
"id": "CVE-2022-2345-0a6841c3",
"deprecated": false,
"target": {
"file": "src/insexpand.c"
},
"source": "https://github.com/vim/vim/commit/baefde14550231f6468ac2ed2ed495bc381c0c92"
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"251057381151671286997524625857329333610",
"272983325479786588238035487338343893948",
"18942488445872413243189780233756743325",
"83805208554934013550865895314519672286"
]
},
"signature_type": "Line",
"signature_version": "v1",
"id": "CVE-2022-2345-25fa3e9e",
"deprecated": false,
"target": {
"file": "src/ex_cmds.c"
},
"source": "https://github.com/vim/vim/commit/32acf1f1a72ebb9d8942b9c9d80023bf1bb668ea"
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"146200493773228420153804765641940418619",
"111028787117496140944534888352540504766",
"42120601352486990288179759701454328476",
"105924159740977199625126209998055602564"
]
},
"signature_type": "Line",
"signature_version": "v1",
"id": "CVE-2022-2345-41bab182",
"deprecated": false,
"target": {
"file": "src/version.c"
},
"source": "https://github.com/vim/vim/commit/32acf1f1a72ebb9d8942b9c9d80023bf1bb668ea"
},
{
"digest": {
"length": 988.0,
"function_hash": "208959350962610804182132099724459411775"
},
"signature_type": "Function",
"signature_version": "v1",
"id": "CVE-2022-2345-69c8cfb8",
"deprecated": false,
"target": {
"function": "regtilde",
"file": "src/regexp.c"
},
"source": "https://github.com/vim/vim/commit/32acf1f1a72ebb9d8942b9c9d80023bf1bb668ea"
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"146200493773228420153804765641940418619",
"266910107439731425343726629175930106229",
"26599138498022209918457897414834917483",
"19380524677283941313731293545965772986"
]
},
"signature_type": "Line",
"signature_version": "v1",
"id": "CVE-2022-2345-6f8a076b",
"deprecated": false,
"target": {
"file": "src/version.c"
},
"source": "https://github.com/vim/vim/commit/baefde14550231f6468ac2ed2ed495bc381c0c92"
},
{
"digest": {
"length": 15262.0,
"function_hash": "151119853098583292012570857861472394986"
},
"signature_type": "Function",
"signature_version": "v1",
"id": "CVE-2022-2345-e0da13f3",
"deprecated": false,
"target": {
"function": "ex_substitute",
"file": "src/ex_cmds.c"
},
"source": "https://github.com/vim/vim/commit/32acf1f1a72ebb9d8942b9c9d80023bf1bb668ea"
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"305595460360620443349452368098626427268",
"291697637150635397539559299641258263446",
"96343431810990730705164272139966926687",
"235676793579606299522691091662318463573",
"22851458193679546094186116800756342984",
"19476805735702477149308854408672159011",
"241034532126644557022154407148313321223",
"256803071041663231327912821647424105901"
]
},
"signature_type": "Line",
"signature_version": "v1",
"id": "CVE-2022-2345-e7f8b6f3",
"deprecated": false,
"target": {
"file": "src/regexp.c"
},
"source": "https://github.com/vim/vim/commit/32acf1f1a72ebb9d8942b9c9d80023bf1bb668ea"
}
]
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-2345.json"