# CVE-2022-2580: Heap-based Buffer Overflow in vim/vim

- Severity: High 7.3 (CVSS:3.0, scored by @huntrdev) `CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:L/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): 0.51%, higher than 45% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-08-01T14:12:38.000Z
- Modified: 2026-06-17T04:42:09.220Z
- Weaknesses: CWE-122
- Assigned by: @huntrdev

## Description

Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.0102.

(As written by CVE List.)

## Affected

- vim vim/vim: from unspecified before 9.0.0102
- vim vim: before 9.0.0102

## Every score

- @huntrdev: CVSS:3.0 7.3 High `CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`

## References

- <https://huntr.dev/bounties/c5f2f1d4-0441-4881-b19c-055acaa16249> (exploit, patch, third-party-advisory)
- <https://github.com/vim/vim/commit/1e56bda9048a9625bce6e660938c834c5c15b07d> (patch, third-party-advisory)

## Sources

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

---

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