CVE-2026-28421
vim: Vim: Denial of service and information disclosure via crafted swap file
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · February 28, 2026
Updated · October 16, 2026
Description
A flaw was found in Vim. This vulnerability, a heap-buffer-overflow and a segmentation fault, exists in the swap file recovery logic. A local attacker could exploit this by providing a specially crafted swap file. This could lead to a denial of service (DoS) or potentially information disclosure.
Statement
The risk posed by this vulnerability is limited on Red Hat products due to user and system isolation features which are enabled by default. The impacts of this flaw will be limited by the active user's permissions and access control limits. Host systems are not at risk when following Red Hat guidelines and the root user account is not actively executing Vim.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
CVSS / CWE
CVSS 3.1 · 5.3CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L
CWE-120 · Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')