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-0361.json"
}{
"extracted_events": [
{
"cpe": "cpe:2.3:a:vim:vim:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "8.2.4215"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "dc5490e2cbc8c16022a23b449b48c1bd0083f366"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-0361.json"
[
{
"deprecated": false,
"digest": {
"function_hash": "218157507877542575145644583451087985426",
"length": 846
},
"id": "CVE-2022-0361-1f99fd14",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/vim/vim/commit/dc5490e2cbc8c16022a23b449b48c1bd0083f366",
"target": {
"file": "src/ex_cmds.c",
"function": "ex_copy"
}
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"104651213448784976697094995647257772082",
"34491433311192896418888397242030642818",
"21401824157967318940969828654326886202",
"181686253473627563369045589799082572090"
],
"threshold": 0.9
},
"id": "CVE-2022-0361-8ef4444e",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/vim/vim/commit/dc5490e2cbc8c16022a23b449b48c1bd0083f366",
"target": {
"file": "src/ex_cmds.c"
}
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"146200493773228420153804765641940418619",
"24713918504517055315104833643842891810",
"290992564761559663462813949469188376362",
"8540867237933704838628069435683718201"
],
"threshold": 0.9
},
"id": "CVE-2022-0361-ec53523e",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/vim/vim/commit/dc5490e2cbc8c16022a23b449b48c1bd0083f366",
"target": {
"file": "src/version.c"
}
}
]
"2026-10-21T08:15:19Z"