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-0572.json"
}{
"extracted_events": [
{
"cpe": "cpe:2.3:a:vim:vim:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "8.2.4359"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "6e28703a8e41f775f64e442c5d11ce1ff599aa3f"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-0572.json"
[
{
"deprecated": false,
"digest": {
"line_hashes": [
"146200493773228420153804765641940418619",
"24775039622821114271962103282077118926",
"62196266698691826067021207524855685511",
"149295266849713451080331431553386599517"
],
"threshold": 0.9
},
"id": "CVE-2022-0572-16f4b138",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/vim/vim/commit/6e28703a8e41f775f64e442c5d11ce1ff599aa3f",
"target": {
"file": "src/version.c"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "93408095581699136150952754644294903114",
"length": 3624
},
"id": "CVE-2022-0572-620e8b23",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/vim/vim/commit/6e28703a8e41f775f64e442c5d11ce1ff599aa3f",
"target": {
"file": "src/indent.c",
"function": "ex_retab"
}
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"202174409911907308691514887183171706933",
"133369627495702884032135002229085782611",
"276360295909790454976101715799140912640",
"168995994500278619728719584539914923608"
],
"threshold": 0.9
},
"id": "CVE-2022-0572-f3492f20",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/vim/vim/commit/6e28703a8e41f775f64e442c5d11ce1ff599aa3f",
"target": {
"file": "src/indent.c"
}
}
]
"2026-10-21T08:15:05Z"