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-0407.json",
"unresolved_ranges": [
{
"extracted_events": [
{
"fixed": "8.2"
}
],
"source": "AFFECTED_FIELD"
}
]
}"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-0407.json"
[
{
"deprecated": false,
"digest": {
"function_hash": "31392679870400358899968016738210154180",
"length": 813
},
"id": "CVE-2022-0407-7a468a2d",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/vim/vim/commit/44db8213d38c39877d2148eff6a72f4beccfb94e",
"target": {
"file": "src/register.c",
"function": "yank_copy_line"
}
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"146200493773228420153804765641940418619",
"120020356278873670985696468676221539935",
"266955264548988653307653727038996535940",
"30391346802491180535875386921761621679"
],
"threshold": 0.9
},
"id": "CVE-2022-0407-96a8e94f",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/vim/vim/commit/44db8213d38c39877d2148eff6a72f4beccfb94e",
"target": {
"file": "src/version.c"
}
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"206233759312726516817153137157293958961",
"238132970129911806413098259161788003711",
"287460864276657425657672480024451884614",
"143941999742513670412290612010003703041"
],
"threshold": 0.9
},
"id": "CVE-2022-0407-bb1dc3d2",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/vim/vim/commit/44db8213d38c39877d2148eff6a72f4beccfb94e",
"target": {
"file": "src/register.c"
}
}
]
"2026-10-20T14:36:29Z"