Use After Free in GitHub repository vim/vim prior to 8.2.
{
"cwe_ids": [
"CWE-416"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/1xxx/CVE-2022-1968.json",
"cna_assigner": "@huntrdev"
}{
"source": [
"CPE_FIELD",
"REFERENCES"
],
"extracted_events": [
{
"introduced": "0"
},
{
"fixed": "8.2.5050"
}
],
"cpe": "cpe:2.3:a:vim:vim:*:*:*:*:*:*:*:*"
}"2026-04-24T18:36:30Z"
[
{
"signature_type": "Function",
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2022-1968-00e09389",
"source": "https://github.com/vim/vim/commit/409510c588b1eec1ae33511ae97a21eb8e110895",
"digest": {
"length": 11613.0,
"function_hash": "1318758388403043230169728191364380099"
},
"target": {
"file": "src/search.c",
"function": "find_pattern_in_path"
}
},
{
"signature_type": "Line",
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2022-1968-b780528f",
"source": "https://github.com/vim/vim/commit/409510c588b1eec1ae33511ae97a21eb8e110895",
"digest": {
"threshold": 0.9,
"line_hashes": [
"310295463636167490515358029834745487939",
"13605803703540501607779140375105639115",
"114886153668623711159843707631814985778",
"28437682704929297876891556898441103941",
"222459376819481440655071337449172123636",
"73899766766717609319550165579644839197",
"292038818216110721230840362843517321975",
"304568763829083866766667511666621865505",
"152136481831795564337105226023023022949",
"228747339575817022544670333210021341373",
"99357077719645114511722268672150543621",
"282668554378943764011658224638518271534",
"206739890371205584917688287509662434353",
"82226695585599772069367770860539808105",
"240150611714623569304279572485693258230",
"82757650231645804261466727817934893129"
]
},
"target": {
"file": "src/search.c"
}
},
{
"signature_type": "Line",
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2022-1968-ee8662f2",
"source": "https://github.com/vim/vim/commit/409510c588b1eec1ae33511ae97a21eb8e110895",
"digest": {
"threshold": 0.9,
"line_hashes": [
"146200493773228420153804765641940418619",
"16940755282520124739660270133078629012",
"75939072164180265278447111051306677764",
"132269284753179814065529466257484953252"
]
},
"target": {
"file": "src/version.c"
}
}
]
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-1968.json"