CVE-2026-28421
vim: Vim: Denial of service and information disclosure via crafted swap file
Overview
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.
Source: OX vulnerability database
Severity
7.8 · HIGH
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness: CWE-20, CWE-122
Affected packages · 0
No registry package. This ID affects operating system packages only.
Operating systems · 50 fixes
Azure Linux 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 3.0 | vim | 0:9.2.0088-1.azl3 |
Oracle Linux 3 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 7 | vim-common +4 | 2:7.4.629-8.0.3.el7_9 |
| 8 | vim-common +4 | 2:8.0.1763-22.0.1.el8_10.1 |
| 9 | vim-common +4 | 2:8.2.2637-23.0.1.el9_7.2 |
Photon OS 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 4.0 | vim +1 | 9.2.0136-1.ph4 |
| 5.0 | vim +1 | 9.2.0136-1.ph5 |
Red Hat 3 releases · 2 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 7 | openshift-ose-rhel-coreos-8 +1 | affected | — |
| 7 | vim-common +4 | 2:7.4.629-8.el7_9.1 | RHSA-2026:6617 |
| 8 | openshift-ose-rhel-coreos-8 +1 | affected | — |
| 8 | vim-common +4 | 2:8.0.1763-13.el8_2.1 | RHSA-2026:6730 |
| 8 | vim-common +4 | 2:8.0.1763-15.el8_4.1 | RHSA-2026:6729 |
| 8 | vim-common +4 | 2:8.0.1763-19.el8_6.5 | RHSA-2026:6731 |
8 more rows
SUSE Linux Enterprise 5 releases · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 12.5 | gvim +3 | 9.2.0110-17.59.1 | SUSE-SU-2026:1051-1 |
| 15.4 | gvim +4 | 9.2.0110-150000.5.86.1 | SUSE-SU-2026:1095-1 |
| 15.5 | gvim +4 | 9.2.0110-150500.20.43.1 | SUSE-SU-2026:0910-1 |
| 15.6 | gvim +4 | 9.2.0110-150500.20.43.1 | SUSE-SU-2026:0910-1 |
| 15.7 | gvim +4 | 9.2.0110-150500.20.43.1 | SUSE-SU-2026:0910-1 |
SUSE Linux Enterprise Micro 4 releases · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 5.2 | vim-data-common +1 | 9.2.0110-150000.5.86.1 | SUSE-SU-2026:1095-1 |
| 5.3 | vim-data-common +1 | 9.2.0110-150000.5.86.1 | SUSE-SU-2026:1095-1 |
| 5.4 | vim-data-common +1 | 9.2.0110-150000.5.86.1 | SUSE-SU-2026:1095-1 |
| 5.5 | vim-data-common +1 | 9.2.0110-150500.20.43.1 | SUSE-SU-2026:0910-1 |
alma 3 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 10 | vim-data +1 | 2:9.1.083-6.el10_1.3 |
| 8 | vim-common +4 | 2:8.0.1763-22.el8_10.1 |
| 9 | vim-common +4 | 2:8.2.2637-23.el9_7.2 |
alpine 3 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 3.23 | vim | 9.2.0078-r0 |
| 3.24 | vim | 9.2.0078-r0 |
| edge | vim | 9.2.0078-r0 |
amazon linux 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 2023 | vim-common +11 | 2:9.2.240-1.amzn2023.0.1 |
debian 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 11 | vim | affected |
| 12 | vim | affected |
| 13 | vim | 2:9.1.1230-2+deb13u1 |
| 14 | vim | 2:9.2.0119-1 |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| vim | 2:9.1.1230-2+deb13u1 |
rocky 3 releases · 3 packages
| Release | Package | Fixed in |
|---|---|---|
| 10 | vim-data +2 | 2:9.1.083-6.el10_1.3 |
| 8 | vim-minimal | 2:8.0.1763-22.el8_10.1 |
| 9 | vim-filesystem +1 | 2:8.2.2637-23.el9_7.2 |
root.io debian 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 12 | rootio-vim | affected |
ubuntu 5 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 18.04-ESM | vim | 2:8.0.1453-1ubuntu1.13+esm14 |
| 20.04-ESM | vim | 2:8.1.2269-1ubuntu5.32+esm2 |
| 22.04 | vim | 2:8.2.3995-1ubuntu2.26 |
| 24.04 | vim | 2:9.1.0016-1ubuntu7.10 |
| 26.04 | vim | 2:9.1.2141-1ubuntu2 |
References
- www.openwall.com http://www.openwall.com/lists/oss-security/2026/02/27/10
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:6915
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:8259
- access.redhat.com https://access.redhat.com/security/cve/CVE-2026-28421
- bugzilla.redhat.com https://bugzilla.redhat.com/2443455
- bugzilla.redhat.com https://bugzilla.redhat.com/2443474
- bugzilla.redhat.com https://bugzilla.redhat.com/2450907
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2443455
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2443474
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2450907
Show all 24 references
- creativecommons.org https://creativecommons.org/licenses/by/4.0/
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-28417
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-28421
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-33412
- errata.almalinux.org https://errata.almalinux.org/9/ALSA-2026-8259.html
- errata.rockylinux.org https://errata.rockylinux.org/RLSA-2026:6915
- github.com https://github.com/vim/vim/commit/65c1a143c331c886dc28
- github.com https://github.com/vim/vim/releases/tag/v9.2.0077
- github.com https://github.com/vim/vim/security/advisories/GHSA-r2gw-2x48-jj5p
- linux.oracle.com https://linux.oracle.com/cve/CVE-2026-28421.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2026-8259.html
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2026-28421
- ubuntu.com https://ubuntu.com/security/notices/USN-8101-1
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2026-28421
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.