Out-of-bounds Read in GitHub repository vim/vim prior to 9.0.0104.
{
"cwe_ids": [
"CWE-125"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/2xxx/CVE-2022-2581.json",
"cna_assigner": "@huntrdev"
}{
"cpe": "cpe:2.3:a:vim:vim:*:*:*:*:*:*:*:*",
"extracted_events": [
{
"introduced": "0"
},
{
"fixed": "9.0.0104"
}
],
"source": [
"CPE_FIELD",
"REFERENCES"
]
}"2026-04-20T10:08:31Z"
[
{
"signature_version": "v1",
"target": {
"file": "src/regexp.c",
"function": "cstrchr"
},
"source": "https://github.com/vim/vim/commit/f50940531dd57135fe60aa393ac9d3281f352d88",
"signature_type": "Function",
"id": "CVE-2022-2581-37c0b4c6",
"deprecated": false,
"digest": {
"function_hash": "226158565629684046648637338079754780923",
"length": 760.0
}
},
{
"signature_version": "v1",
"target": {
"file": "src/regexp.c"
},
"source": "https://github.com/vim/vim/commit/f50940531dd57135fe60aa393ac9d3281f352d88",
"signature_type": "Line",
"id": "CVE-2022-2581-d6a211da",
"deprecated": false,
"digest": {
"line_hashes": [
"307443016456772732298713055190858968503",
"5223414844262193950147327186467795253",
"330158026437380938960791296746731579739",
"115467624706394279406015225206124319932"
],
"threshold": 0.9
}
},
{
"signature_version": "v1",
"target": {
"file": "src/typval.c"
},
"source": "https://github.com/vim/vim/commit/1e56bda9048a9625bce6e660938c834c5c15b07d",
"signature_type": "Line",
"id": "CVE-2022-2581-e41d857d",
"deprecated": false,
"digest": {
"line_hashes": [
"106447693353747596027475983248396082674",
"291647189978032535165485537561366200299",
"320155611181172000653887300128839164122",
"226226355220650447464754561869640011023",
"32917712667003401982678840754856836449"
],
"threshold": 0.9
}
},
{
"signature_version": "v1",
"target": {
"file": "src/typval.c",
"function": "eval_string"
},
"source": "https://github.com/vim/vim/commit/1e56bda9048a9625bce6e660938c834c5c15b07d",
"signature_type": "Function",
"id": "CVE-2022-2581-ec15f54a",
"deprecated": false,
"digest": {
"function_hash": "220560498678372744128473950046889914831",
"length": 2651.0
}
},
{
"signature_version": "v1",
"target": {
"file": "src/version.c"
},
"source": "https://github.com/vim/vim/commit/1e56bda9048a9625bce6e660938c834c5c15b07d",
"signature_type": "Line",
"id": "CVE-2022-2581-f81fdfaa",
"deprecated": false,
"digest": {
"line_hashes": [
"146200493773228420153804765641940418619",
"3585146729960597926598703617518034209",
"259034200916055878618447552872578531185",
"273630205452981705344740028066731220239"
],
"threshold": 0.9
}
}
]
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-2581.json"