Heap-based Buffer Overflow in GitHub repository vim/vim prior to 8.2.
{
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/2xxx/CVE-2022-2125.json",
"cna_assigner": "@huntrdev",
"cwe_ids": [
"CWE-122"
]
}{
"cpe": "cpe:2.3:a:vim:vim:*:*:*:*:*:*:*:*",
"extracted_events": [
{
"introduced": "0"
},
{
"fixed": "8.2.5122"
}
],
"source": [
"CPE_FIELD",
"REFERENCES"
]
}[
{
"target": {
"function": "get_lisp_indent",
"file": "src/indent.c"
},
"id": "CVE-2022-2125-096f55dc",
"signature_version": "v1",
"deprecated": false,
"source": "https://github.com/vim/vim/commit/0e8e938d497260dd57be67b4966cb27a5f72376f",
"signature_type": "Function",
"digest": {
"function_hash": "311672036759739497972034220840920250076",
"length": 2483.0
}
},
{
"target": {
"file": "src/version.c"
},
"id": "CVE-2022-2125-35996631",
"signature_version": "v1",
"deprecated": false,
"source": "https://github.com/vim/vim/commit/0e8e938d497260dd57be67b4966cb27a5f72376f",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"146200493773228420153804765641940418619",
"166104706098634311128616046988334943531",
"125707555030790545319697533956842567754",
"99161902400083660364979488594245914306"
]
}
},
{
"target": {
"file": "src/indent.c"
},
"id": "CVE-2022-2125-a862454a",
"signature_version": "v1",
"deprecated": false,
"source": "https://github.com/vim/vim/commit/0e8e938d497260dd57be67b4966cb27a5f72376f",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"75407180318704451699303769443305508093",
"108587633537507210242609878158511307392",
"36445257594179323383536689141736810642",
"208171425804336387660635681023457530152"
]
}
}
]
"2026-04-18T11:24:15Z"
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-2125.json"