Out-of-bounds Write to API in GitHub repository vim/vim prior to 9.0.0100.
{
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/2xxx/CVE-2022-2598.json",
"cwe_ids": [
"CWE-787"
],
"cna_assigner": "@huntrdev"
}{
"source": [
"CPE_FIELD",
"REFERENCES"
],
"cpe": "cpe:2.3:a:vim:vim:*:*:*:*:*:*:*:*",
"extracted_events": [
{
"introduced": "0"
},
{
"fixed": "9.0.0100"
}
]
}"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-2598.json"
"2026-04-26T12:06:32Z"
[
{
"source": "https://github.com/vim/vim/commit/cb5ed4d6252a7c76c2f85ae95cb1e4e2bccc41fc",
"digest": {
"line_hashes": [
"146200493773228420153804765641940418619",
"317653907608859601913601615155103144568",
"89663570777207998011077194952888682151",
"289405983561855442333093566797172633519"
],
"threshold": 0.9
},
"signature_type": "Line",
"signature_version": "v1",
"target": {
"file": "src/version.c"
},
"deprecated": false,
"id": "CVE-2022-2598-083e6128"
},
{
"source": "https://github.com/vim/vim/commit/cb5ed4d6252a7c76c2f85ae95cb1e4e2bccc41fc",
"digest": {
"function_hash": "230895227959965438486039096568054903041",
"length": 1054.0
},
"signature_type": "Function",
"signature_version": "v1",
"target": {
"function": "mch_call_shell_terminal",
"file": "src/os_unix.c"
},
"deprecated": false,
"id": "CVE-2022-2598-1acd6597"
},
{
"source": "https://github.com/vim/vim/commit/cb5ed4d6252a7c76c2f85ae95cb1e4e2bccc41fc",
"digest": {
"line_hashes": [
"269847613885199446769901805956542676094",
"186087840625014672591722270047790585982",
"113551190079730221205942443247480004585",
"73195760158366502106334258517777815473"
],
"threshold": 0.9
},
"signature_type": "Line",
"signature_version": "v1",
"target": {
"file": "src/os_unix.c"
},
"deprecated": false,
"id": "CVE-2022-2598-54ca4aa1"
},
{
"source": "https://github.com/vim/vim/commit/4e677b9c40ccbc5f090971b31dc2fe07bf05541d",
"digest": {
"function_hash": "84391242592776052793786503832978288217",
"length": 5345.0
},
"signature_type": "Function",
"signature_version": "v1",
"target": {
"function": "ex_diffgetput",
"file": "src/diff.c"
},
"deprecated": false,
"id": "CVE-2022-2598-b641a5aa"
},
{
"source": "https://github.com/vim/vim/commit/4e677b9c40ccbc5f090971b31dc2fe07bf05541d",
"digest": {
"function_hash": "71508446669038229014920595432427275959",
"length": 3685.0
},
"signature_type": "Function",
"signature_version": "v1",
"target": {
"function": "diff_mark_adjust_tp",
"file": "src/diff.c"
},
"deprecated": false,
"id": "CVE-2022-2598-bbd6a3c8"
},
{
"source": "https://github.com/vim/vim/commit/4e677b9c40ccbc5f090971b31dc2fe07bf05541d",
"digest": {
"line_hashes": [
"146200493773228420153804765641940418619",
"271008878272773242673306026091832837284",
"114351118876635597237889187846338176670",
"273827591379161865034533013142844646029"
],
"threshold": 0.9
},
"signature_type": "Line",
"signature_version": "v1",
"target": {
"file": "src/version.c"
},
"deprecated": false,
"id": "CVE-2022-2598-caab6713"
},
{
"source": "https://github.com/vim/vim/commit/4e677b9c40ccbc5f090971b31dc2fe07bf05541d",
"digest": {
"line_hashes": [
"117351433571262975917057715675473828249",
"151880233072971461890250535590572380225",
"266071687483172033507211231145947127113",
"255121331204290179447855935939592390707",
"94256527810523052982986195281837570817",
"238070692787920857948088180274710970891",
"130899088255044139888141406227041386980",
"174609094621323750847799213321034060655",
"280143154675782476700231104509538818168"
],
"threshold": 0.9
},
"signature_type": "Line",
"signature_version": "v1",
"target": {
"file": "src/diff.c"
},
"deprecated": false,
"id": "CVE-2022-2598-fb19723d"
}
]