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/1xxx/CVE-2022-1886.json",
"unresolved_ranges": [
{
"extracted_events": [
{
"fixed": "8.2"
}
],
"source": "AFFECTED_FIELD"
}
]
}"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-1886.json"
[
{
"deprecated": false,
"digest": {
"line_hashes": [
"26101672550039227481666832971938517829",
"131035741504484127781227711253771688223",
"242691451037956628021469744195097182617",
"280111830566756019479388657715090760137",
"281735895816796505365254225006782123382",
"207589675342053229589066014376898320400"
],
"threshold": 0.9
},
"id": "CVE-2022-1886-869f8153",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/vim/vim/commit/2a585c85013be22f59f184d49612074fd9b115d7",
"target": {
"file": "src/register.c"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "326813937715109985952363343136372748538",
"length": 13418
},
"id": "CVE-2022-1886-e9efc575",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/vim/vim/commit/2a585c85013be22f59f184d49612074fd9b115d7",
"target": {
"file": "src/register.c",
"function": "do_put"
}
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"146200493773228420153804765641940418619",
"265709047890384352527582706405800270557",
"218102977784898327089780295305396768261",
"179553331305816292794993772089349647754"
],
"threshold": 0.9
},
"id": "CVE-2022-1886-f72df918",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/vim/vim/commit/2a585c85013be22f59f184d49612074fd9b115d7",
"target": {
"file": "src/version.c"
}
}
]
"2026-10-20T14:51:44Z"