Use After Free in GitHub repository vim/vim prior to 8.2.
{
"cna_assigner": "@huntrdev",
"cwe_ids": [
"CWE-416"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/1xxx/CVE-2022-1898.json"
}{
"extracted_events": [
{
"cpe": "cpe:2.3:a:vim:vim:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "8.2.5024"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "e2fa213cf571041dbd04ab0329303ffdc980678a"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-1898.json"
[
{
"deprecated": false,
"digest": {
"function_hash": "94138170098924903080246149310863358133",
"length": 3360
},
"id": "CVE-2022-1898-02a723f5",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/vim/vim/commit/e2fa213cf571041dbd04ab0329303ffdc980678a",
"target": {
"file": "src/normal.c",
"function": "nv_brackets"
}
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"146200493773228420153804765641940418619",
"16097262826349680665402586558252045708",
"137001812601496726116791042057401116090",
"214425349222195279942118461371769128632"
],
"threshold": 0.9
},
"id": "CVE-2022-1898-ad219ce6",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/vim/vim/commit/e2fa213cf571041dbd04ab0329303ffdc980678a",
"target": {
"file": "src/version.c"
}
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"138497205507681796225305221345873311328",
"266853665984149681434855581936111290466",
"35546737836893534369410187100436236758",
"265095514890624291417290965613278472027",
"329466678089027365617127442107700969348",
"27274612443512746875455664279457318738",
"6117311143009232985209869591877267337",
"80577604588302045342075675471409942014"
],
"threshold": 0.9
},
"id": "CVE-2022-1898-bbfeca59",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/vim/vim/commit/e2fa213cf571041dbd04ab0329303ffdc980678a",
"target": {
"file": "src/normal.c"
}
}
]
"2026-10-22T15:53:21Z"