What’s Vulnerable › Vulnerabilities

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

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.

Affected products

How to fix

Upgrade to a fixed version: vim/vim 9.2.0077. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-28421 or the next vulnerability affects your stack