CVE Catalog

CVE-2026-28421

MediumCVSS 5.3
Published: Updated: Translated: NVD NIST

Summary

Vim versions prior to 9.2.0077 have a heap-buffer-overflow and a segmentation fault (SEGV) in the swap file recovery logic. Both are caused by unvalidated fields read from crafted pointer blocks within a swap file.

Risk Assessment

Opening a crafted swap file may crash Vim or potentially lead to code execution in the context of the editor user.

Recommendation

Update Vim to version 9.2.0077 or later.

Other vulnerabilities in Vim

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS