Heap-based Buffer Overflow in GitHub repository vim/vim prior to 8.2.
{
"cna_assigner": "@huntrdev",
"cwe_ids": [
"CWE-122"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/0xxx/CVE-2022-0359.json"
}{
"extracted_events": [
{
"cpe": "cpe:2.3:a:vim:vim:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "8.2.4214"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "85b6747abc15a7a81086db31289cf1b8b17e6cb1"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-0359.json"
[
{
"deprecated": false,
"digest": {
"function_hash": "215827589890883435690613882177137126888",
"length": 559
},
"id": "CVE-2022-0359-07ffb297",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/vim/vim/commit/85b6747abc15a7a81086db31289cf1b8b17e6cb1",
"target": {
"file": "src/ex_getln.c",
"function": "init_ccline"
}
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"241040099615577137977999318742244586698",
"218284262070971542077189583662264511020",
"80413752061256537553959609296118919468",
"61600066299159158227651101880066111644"
],
"threshold": 0.9
},
"id": "CVE-2022-0359-57eaec44",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/vim/vim/commit/85b6747abc15a7a81086db31289cf1b8b17e6cb1",
"target": {
"file": "src/ex_getln.c"
}
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"146200493773228420153804765641940418619",
"300294583957139541732105802230891934557",
"193755813991952733231248013230320273875",
"238293985290179939356130819403271264352"
],
"threshold": 0.9
},
"id": "CVE-2022-0359-cf216fb1",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/vim/vim/commit/85b6747abc15a7a81086db31289cf1b8b17e6cb1",
"target": {
"file": "src/version.c"
}
}
]
"2026-10-22T07:18:59Z"