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/2xxx/CVE-2022-2125.json"
}{
"extracted_events": [
{
"cpe": "cpe:2.3:a:vim:vim:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "8.2.5122"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "0e8e938d497260dd57be67b4966cb27a5f72376f"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-2125.json"
[
{
"deprecated": false,
"digest": {
"function_hash": "311672036759739497972034220840920250076",
"length": 2483
},
"id": "CVE-2022-2125-096f55dc",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/vim/vim/commit/0e8e938d497260dd57be67b4966cb27a5f72376f",
"target": {
"file": "src/indent.c",
"function": "get_lisp_indent"
}
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"146200493773228420153804765641940418619",
"166104706098634311128616046988334943531",
"125707555030790545319697533956842567754",
"99161902400083660364979488594245914306"
],
"threshold": 0.9
},
"id": "CVE-2022-2125-35996631",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/vim/vim/commit/0e8e938d497260dd57be67b4966cb27a5f72376f",
"target": {
"file": "src/version.c"
}
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"75407180318704451699303769443305508093",
"108587633537507210242609878158511307392",
"36445257594179323383536689141736810642",
"208171425804336387660635681023457530152"
],
"threshold": 0.9
},
"id": "CVE-2022-2125-a862454a",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/vim/vim/commit/0e8e938d497260dd57be67b4966cb27a5f72376f",
"target": {
"file": "src/indent.c"
}
}
]
"2026-10-21T08:11:23Z"