Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.
{
"cwe_ids": [
"CWE-122"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/2xxx/CVE-2022-2284.json",
"cna_assigner": "@huntrdev"
}{
"cpe": "cpe:2.3:a:vim:vim:*:*:*:*:*:*:*:*",
"extracted_events": [
{
"introduced": "0"
},
{
"fixed": "9.0.0017"
}
],
"source": [
"CPE_FIELD",
"REFERENCES"
]
}"2026-04-26T12:02:38Z"
[
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"146200493773228420153804765641940418619",
"85098894553735347115471434741609394537",
"243325237745718201157071745162499518203",
"90607730466937333335139819061244417102"
]
},
"signature_type": "Line",
"signature_version": "v1",
"id": "CVE-2022-2284-2fd411bf",
"deprecated": false,
"target": {
"file": "src/version.c"
},
"source": "https://github.com/vim/vim/commit/3d51ce18ab1be4f9f6061568a4e7fabf00b21794"
},
{
"digest": {
"length": 3950.0,
"function_hash": "79523471528421489697048145208883569889"
},
"signature_type": "Function",
"signature_version": "v1",
"id": "CVE-2022-2284-bac8813d",
"deprecated": false,
"target": {
"function": "win_close",
"file": "src/window.c"
},
"source": "https://github.com/vim/vim/commit/3d51ce18ab1be4f9f6061568a4e7fabf00b21794"
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"337222852930355116887681901766794668010",
"84539254732092106512037165123398917055",
"23934743970533422901165046668283903835",
"169454733970811384981289641067416348685"
]
},
"signature_type": "Line",
"signature_version": "v1",
"id": "CVE-2022-2284-bcad4f33",
"deprecated": false,
"target": {
"file": "src/window.c"
},
"source": "https://github.com/vim/vim/commit/3d51ce18ab1be4f9f6061568a4e7fabf00b21794"
}
]
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-2284.json"