Out-of-bounds Read in GitHub repository vim/vim prior to 8.2.
{
"cna_assigner": "@huntrdev",
"cwe_ids": [
"CWE-125"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/1xxx/CVE-2022-1851.json"
}{
"extracted_events": [
{
"cpe": "cpe:2.3:a:vim:vim:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "8.2.5013"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "78d52883e10d71f23ab72a3d8b9733b00da8c9ad"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-1851.json"
[
{
"deprecated": false,
"digest": {
"line_hashes": [
"72730844394448797708002677182346120455",
"68931156198666999014663749740200423793",
"104524630701386931546155191386284458975",
"111161340589566448763018305738982829480"
],
"threshold": 0.9
},
"id": "CVE-2022-1851-5e30bbdf",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/vim/vim/commit/78d52883e10d71f23ab72a3d8b9733b00da8c9ad",
"target": {
"file": "src/textformat.c"
}
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"146200493773228420153804765641940418619",
"132124739411821279115305419892084428189",
"246900417532640243647505376439618105745",
"88127845866281810674599148579059757752"
],
"threshold": 0.9
},
"id": "CVE-2022-1851-85905798",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/vim/vim/commit/78d52883e10d71f23ab72a3d8b9733b00da8c9ad",
"target": {
"file": "src/version.c"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "62499292874114642496601333174335195290",
"length": 1171
},
"id": "CVE-2022-1851-8c70d999",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/vim/vim/commit/78d52883e10d71f23ab72a3d8b9733b00da8c9ad",
"target": {
"file": "src/textformat.c",
"function": "op_format"
}
}
]
"2026-10-21T08:15:29Z"