Vulnerability 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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Vim | Vim | < 9.2.0077 |
Related Weaknesses (CWE)
References
- https://github.com/vim/vim/commit/65c1a143c331c886dc28Patch
- https://github.com/vim/vim/releases/tag/v9.2.0077Product
- https://github.com/vim/vim/security/advisories/GHSA-r2gw-2x48-jj5pPatchVendor Advisory
- http://www.openwall.com/lists/oss-security/2026/02/27/10Mailing ListPatchThird Party Advisory
FAQ
What is CVE-2026-28421?
CVE-2026-28421 is a vulnerability with a CVSS score of 5.3 (MEDIUM). 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 unva...
How severe is CVE-2026-28421?
CVE-2026-28421 has been rated MEDIUM with a CVSS base score of 5.3/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-28421?
Check the references section above for vendor advisories and patch information. Affected products include: Vim Vim.