# CVE-2026-28421: Vim has a heap-buffer-overflow and a segmentation fault

- Severity: Medium 5.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L`
- 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.20%, higher than 10% of CVEs (2026-12-01)
- Published: 2026-02-27T22:06:34.312Z
- Modified: 2026-06-17T10:28:35.523Z
- Weaknesses: CWE-20, CWE-122
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

Vim is an open source, command line text editor. Versions prior to 9.2.0077 have a heap-buffer-overflow and a segmentation fault (SEGV) exist in Vim's swap file recovery logic. Both are caused by unvalidated fields read from crafted pointer blocks within a swap file. Version 9.2.0077 fixes the issue.

(As written by CVE List.)

## Affected

- vim vim: < 9.2.0077; before 9.2.0077

## Every score

- GitHub_M: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L`
- 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://github.com/vim/vim/security/advisories/GHSA-r2gw-2x48-jj5p> (patch, vendor-advisory)
- <https://github.com/vim/vim/commit/65c1a143c331c886dc28> (patch)
- <https://github.com/vim/vim/releases/tag/v9.2.0077> (product)
- <http://www.openwall.com/lists/oss-security/2026/02/27/10> (mailing-list, patch, third-party-advisory)

## Sources

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

---

Page: https://cve.day/CVE-2026-28421 · Whole record: https://cve.day/CVE-2026-28421.json · Rebuilt by cve.day 2026-11-25T22:59:15.054Z
