# CVE-2022-2598: Out-of-bounds Write to API in vim/vim

- Severity: Medium 6.5 (CVSS:3.1, scored by @huntrdev) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.08%, higher than 66% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-08-01T00:00:00.000Z
- Modified: 2026-06-17T04:42:11.360Z
- Weaknesses: CWE-787
- Assigned by: @huntrdev

## Description

Out-of-bounds Write to API in GitHub repository vim/vim prior to 9.0.0100.

(As written by CVE List.)

## Affected

- vim vim/vim: from unspecified before 9.0.0100
- vim vim: before 9.0.0100
- debian debian_linux: 10.0

## Every score

- @huntrdev: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`

## References

- <https://huntr.dev/bounties/2f08363a-47a2-422d-a7de-ce96a89ad08e> (exploit, patch, third-party-advisory)
- <https://github.com/vim/vim/commit/4e677b9c40ccbc5f090971b31dc2fe07bf05541d> (patch, third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2022/11/msg00009.html> (mailing-list, third-party-advisory)

## Sources

- CVE List: [CVE-2022-2598](https://www.cve.org/CVERecord?id=CVE-2022-2598), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2022-2598](https://nvd.nist.gov/vuln/detail/CVE-2022-2598), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-2598 · Whole record: https://cve.day/CVE-2022-2598.json · Rebuilt by cve.day 2026-11-25T22:58:13.336Z
