Skip to content
Fencer Intel
medium 5.3

CVE-2026-28421 json

Vim has a heap-buffer-overflow and a segmentation fault

published 8mo ago modified 4mo ago also EUVD-2026-9089

cvss
5.3
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.2%
EPSS 0.2% chance of exploitation in 30 days, percentile 10%
public exploits
0
none known

Summary

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.

Patch / fix

  • vim vim 9.2.0077
  • vim Debian 13 2:9.1.1230-2+deb13u1
  • vim Debian 14 2:9.2.0119-1

debian advisories DEBIAN-CVE-2026-28421

  • vim Ubuntu 22.04 LTS 2:8.2.3995-1ubuntu2.26
  • vim Ubuntu 24.04 LTS 2:9.1.0016-1ubuntu7.10
  • vim Ubuntu 25.10 2:9.1.0967-1ubuntu6.1
  • vim Ubuntu 26.04 LTS 2:9.1.2141-1ubuntu2
  • vim Ubuntu Pro 14.04 LTS 2:7.4.052-1ubuntu3.1+esm23
  • vim Ubuntu Pro 16.04 LTS 2:7.4.1689-3ubuntu1.5+esm29
  • vim Ubuntu Pro 18.04 LTS 2:8.0.1453-1ubuntu1.13+esm14
  • vim Ubuntu Pro 20.04 LTS 2:8.1.2269-1ubuntu5.32+esm2

ubuntu advisories UBUNTU-CVE-2026-28421

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • vim RHEL 9 2:8.2.2637-23.el9_7.2
  • vim-X11 RHEL 9 2:8.2.2637-23.el9_7.2
  • vim-common RHEL 9 2:8.2.2637-23.el9_7.2
  • vim-minimal RHEL 9 2:8.2.2637-23.el9_7.2
  • vim-enhanced RHEL 9 2:8.2.2637-23.el9_7.2
  • vim RHEL 10.1 2:9.1.083-6.el10_1.3
  • vim-X11 RHEL 10.1 2:9.1.083-6.el10_1.3
  • vim-common RHEL 10.1 2:9.1.083-6.el10_1.3

red hat advisories RHSA-2026:69128RHSA-2026:8259RHSA-2026:7711RHSA-2026:6915RHSA-2026:6736RHSA-2026:6731

  • vim SLES for SAP 15 SP4, SLES 15 SP4-LTSS, SLE Micro 5.4 +4 more 9.2.0110-150000.5.86.1
  • vim SLES for SAP 15 SP6, SLES for SAP 15 SP5, SLES 15 SP6-LTSS +7 more 9.2.0110-150500.20.43.1
  • vim SLES LTSS Extended Security 12 SP5, SLES 12 SP5-LTSS 9.2.0110-17.59.1

suse advisories SUSE-SU-2026:1051-1SUSE-SU-2026:1095-1SUSE-SU-2026:0910-1

  • vim-X11 AlmaLinux 9 2:8.2.2637-23.el9_7.2
  • vim-common AlmaLinux 9 2:8.2.2637-23.el9_7.2
  • vim-minimal AlmaLinux 9 2:8.2.2637-23.el9_7.2
  • vim-enhanced AlmaLinux 9 2:8.2.2637-23.el9_7.2
  • vim-filesystem AlmaLinux 9 2:8.2.2637-23.el9_7.2
  • vim-data AlmaLinux 10 2:9.1.083-6.el10_1.3
  • vim-filesystem AlmaLinux 10 2:9.1.083-6.el10_1.3
  • vim-X11 AlmaLinux 8 2:8.0.1763-22.el8_10.1

almalinux advisories ALSA-2026:8259ALSA-2026:7711ALSA-2026:6915

  • vim Rocky Linux 9 2:8.2.2637-23.el9_7.2
  • vim Rocky Linux 10 2:9.1.083-6.el10_1.3
  • vim Rocky Linux 8 2:8.0.1763-22.el8_10.1

rocky linux advisories RLSA-2026:8259RLSA-2026:7711RLSA-2026:6915

  • vim Alpine 3.24, Alpine 3.23 9.2.0078-r0

alpine advisories ALPINE-CVE-2026-28421

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • vim Azure Linux 3.0 9.2.0088-1

azure linux advisories AZL-78500

Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT

Is CVE-2026-28421 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2026-28421 updated cvss 5.3

vim: Vim: Denial of service and information disclosure via crafted swap file

  • Red Hat AI Inference Server 3.2 rhaiis 1775740563, rhaiis/model-opt-cuda-rhel9 1780681984
    fixed: vendor fix RHSA-2026:25096
  • Red Hat AI Inference Server 3.3 rhaiis 1778244531, rhaiis 1778244546, rhaiis 1778244559
    fixed: vendor fix RHSA-2026:16008
  • Red Hat Enterprise Linux AppStream (v. 8) vim-X11 8.0.1763-22.el8_10.1, vim-enhanced 8.0.1763-22.el8_10.1
    fixed: vendor fix RHSA-2026:6915
  • Red Hat Enterprise Linux AppStream (v. 9) vim-X11 8.2.2637-23.el9_7.2, vim-enhanced 8.2.2637-23.el9_7.2
    fixed: vendor fix RHSA-2026:8259
  • Red Hat Enterprise Linux AppStream (v. 10) vim-X11 9.1.083-6.el10_1.3, vim-enhanced 9.1.083-6.el10_1.3
    fixed: vendor fix RHSA-2026:7711
  • Red Hat Enterprise Linux AppStream AUS (v. 8.2) vim-X11 8.0.1763-13.el8_2.1, vim-common 8.0.1763-13.el8_2.1, vim-enhanced 8.0.1763-13.el8_2.1, vim-filesystem 8.0.1763-13.el8_2.1
    fixed: vendor fix RHSA-2026:6730
  • Red Hat Enterprise Linux AppStream AUS (v.8.4) vim-X11 8.0.1763-15.el8_4.1, vim-common 8.0.1763-15.el8_4.1, vim-enhanced 8.0.1763-15.el8_4.1, vim-filesystem 8.0.1763-15.el8_4.1
    fixed: vendor fix RHSA-2026:6729
  • Red Hat Enterprise Linux AppStream AUS (v.8.6) vim-X11 8.0.1763-19.el8_6.5, vim-common 8.0.1763-19.el8_6.5, vim-enhanced 8.0.1763-19.el8_6.5, vim-filesystem 8.0.1763-19.el8_6.5 Red Hat Enterprise Linux AppStream E4S (v.8.6) vim-X11 8.0.1763-19.el8_6.5, vim-common 8.0.1763-19.el8_6.5, vim-enhanced 8.0.1763-19.el8_6.5, vim-filesystem 8.0.1763-19.el8_6.5
    fixed: vendor fix RHSA-2026:6731
show 30 more
  • Red Hat Enterprise Linux AppStream E4S (v.8.8) vim-X11 8.0.1763-20.el8_8.1, vim-common 8.0.1763-20.el8_8.1, vim-enhanced 8.0.1763-20.el8_8.1, vim-filesystem 8.0.1763-20.el8_8.1
    fixed: vendor fix RHSA-2026:6736
  • Red Hat Enterprise Linux AppStream E4S (v.9.0) vim-X11 8.2.2637-16.el9_0.4, vim-common 8.2.2637-16.el9_0.4, vim-enhanced 8.2.2637-16.el9_0.4
    fixed: vendor fix RHSA-2026:6619
  • Red Hat Enterprise Linux AppStream E4S (v.9.2) vim-X11 8.2.2637-20.el9_2.1, vim-common 8.2.2637-20.el9_2.1, vim-enhanced 8.2.2637-20.el9_2.1
    fixed: vendor fix RHSA-2026:6620
  • Red Hat Enterprise Linux AppStream EUS (v. 10.0) xxd 9.1.083-5.el10_0.2, vim-X11 9.1.083-5.el10_0.2, vim-common 9.1.083-5.el10_0.2, vim-enhanced 9.1.083-5.el10_0.2
    fixed: vendor fix RHSA-2026:6502
  • Red Hat Enterprise Linux AppStream EUS (v.9.4) vim-X11 8.2.2637-20.el9_4.2, vim-common 8.2.2637-20.el9_4.2, vim-enhanced 8.2.2637-20.el9_4.2
    fixed: vendor fix RHSA-2026:6540
  • Red Hat Enterprise Linux AppStream EUS (v.9.6) vim-X11 8.2.2637-22.el9_6.2, vim-common 8.2.2637-22.el9_6.2, vim-enhanced 8.2.2637-22.el9_6.2
    fixed: vendor fix RHSA-2026:6539
  • Red Hat Enterprise Linux AppStream EUS EXTENSION (v.8.4) vim-X11 8.0.1763-15.el8_4.1, vim-common 8.0.1763-15.el8_4.1, vim-enhanced 8.0.1763-15.el8_4.1, vim-filesystem 8.0.1763-15.el8_4.1
    fixed: vendor fix RHSA-2026:6729
  • Red Hat Enterprise Linux AppStream TUS (v.8.6) vim-X11 8.0.1763-19.el8_6.5, vim-common 8.0.1763-19.el8_6.5, vim-enhanced 8.0.1763-19.el8_6.5, vim-filesystem 8.0.1763-19.el8_6.5
    fixed: vendor fix RHSA-2026:6731
  • Red Hat Enterprise Linux AppStream TUS (v.8.8) vim-X11 8.0.1763-20.el8_8.1, vim-common 8.0.1763-20.el8_8.1, vim-enhanced 8.0.1763-20.el8_8.1, vim-filesystem 8.0.1763-20.el8_8.1
    fixed: vendor fix RHSA-2026:6736
  • Red Hat Enterprise Linux BaseOS (v. 8) vim 8.0.1763-22.el8_10.1
    fixed: vendor fix RHSA-2026:6915
  • Red Hat Enterprise Linux BaseOS (v. 9) vim 8.2.2637-23.el9_7.2, vim-minimal 8.2.2637-23.el9_7.2
    fixed: vendor fix RHSA-2026:8259
  • Red Hat Enterprise Linux BaseOS (v. 10) vim 9.1.083-6.el10_1.3, vim-minimal 9.1.083-6.el10_1.3
    fixed: vendor fix RHSA-2026:7711
  • Red Hat Enterprise Linux BaseOS AUS (v. 8.2) vim 8.0.1763-13.el8_2.1, vim-minimal 8.0.1763-13.el8_2.1
    fixed: vendor fix RHSA-2026:6730
  • Red Hat Enterprise Linux BaseOS AUS (v.8.4) vim 8.0.1763-15.el8_4.1, vim-minimal 8.0.1763-15.el8_4.1
    fixed: vendor fix RHSA-2026:6729
  • Red Hat Enterprise Linux BaseOS AUS (v.8.6) vim 8.0.1763-19.el8_6.5, vim-minimal 8.0.1763-19.el8_6.5 Red Hat Enterprise Linux BaseOS E4S (v.8.6) vim 8.0.1763-19.el8_6.5, vim-minimal 8.0.1763-19.el8_6.5
    fixed: vendor fix RHSA-2026:6731
  • Red Hat Enterprise Linux BaseOS E4S (v.8.8) vim 8.0.1763-20.el8_8.1, vim-minimal 8.0.1763-20.el8_8.1
    fixed: vendor fix RHSA-2026:6736
  • Red Hat Enterprise Linux BaseOS E4S (v.9.0) vim 8.2.2637-16.el9_0.4, vim-minimal 8.2.2637-16.el9_0.4, vim-filesystem 8.2.2637-16.el9_0.4
    fixed: vendor fix RHSA-2026:6619
  • Red Hat Enterprise Linux BaseOS E4S (v.9.2) vim 8.2.2637-20.el9_2.1, vim-minimal 8.2.2637-20.el9_2.1, vim-filesystem 8.2.2637-20.el9_2.1
    fixed: vendor fix RHSA-2026:6620
  • Red Hat Enterprise Linux BaseOS EUS (v. 10.0) vim 9.1.083-5.el10_0.2, vim-data 9.1.083-5.el10_0.2, vim-minimal 9.1.083-5.el10_0.2, vim-filesystem 9.1.083-5.el10_0.2
    fixed: vendor fix RHSA-2026:6502
  • Red Hat Enterprise Linux BaseOS EUS (v.9.4) vim 8.2.2637-20.el9_4.2, vim-minimal 8.2.2637-20.el9_4.2, vim-filesystem 8.2.2637-20.el9_4.2
    fixed: vendor fix RHSA-2026:6540
  • Red Hat Enterprise Linux BaseOS EUS (v.9.6) vim 8.2.2637-22.el9_6.2, vim-minimal 8.2.2637-22.el9_6.2, vim-filesystem 8.2.2637-22.el9_6.2
    fixed: vendor fix RHSA-2026:6539
  • Red Hat Enterprise Linux BaseOS EUS EXTENSION (v.8.4) vim 8.0.1763-15.el8_4.1, vim-minimal 8.0.1763-15.el8_4.1
    fixed: vendor fix RHSA-2026:6729
  • Red Hat Enterprise Linux BaseOS TUS (v.8.6) vim 8.0.1763-19.el8_6.5, vim-minimal 8.0.1763-19.el8_6.5
    fixed: vendor fix RHSA-2026:6731
  • Red Hat Enterprise Linux BaseOS TUS (v.8.8) vim 8.0.1763-20.el8_8.1, vim-minimal 8.0.1763-20.el8_8.1
    fixed: vendor fix RHSA-2026:6736
  • Red Hat Enterprise Linux Server -EXTENSION(v. 6 ELS-EXTENSION) vim 7.4.629-5.el6_10.4, vim-X11 7.4.629-5.el6_10.4, vim-minimal 7.4.629-5.el6_10.4, vim-enhanced 7.4.629-5.el6_10.4
    fixed: vendor fix RHSA-2026:69128
  • Red Hat Enterprise Linux Server (v. 7 ELS) vim 7.4.629-8.el7_9.1, vim-X11 7.4.629-8.el7_9.1, vim-common 7.4.629-8.el7_9.1, vim-minimal 7.4.629-8.el7_9.1, vim-enhanced 7.4.629-8.el7_9.1, vim-filesystem 7.4.629-8.el7_9.1
    fixed: vendor fix RHSA-2026:6617
  • Red Hat Insights proxy 1.5 insights-proxy 1776868961
    fixed: vendor fix RHSA-2026:9832
  • Red Hat OpenShift Container Platform 4.12 rhcos 412.86.202604281506
    fixed: vendor fix RHSA-2026:12274
  • Red Hat OpenShift Container Platform 4.13 rhcos 413.92.202604080111
    fixed: vendor fix RHSA-2026:7239
  • Red Hat OpenShift Container Platform 4.14 rhcos 414.92.202605060243
    fixed: vendor fix RHSA-2026:15087

6 more fixed, 7 more not affected in the full advisory

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
total
Assessed
5mo ago

Exploit prediction

0.21% chance of exploitation in the next 30 days, higher than 10% of all scored CVEs (FIRST EPSS, 2026-11-09).

CVSS scores

assigned by version score vector
CNA 3.1 5.3 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L
NVD 3.1 7.8 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Affected products

  • vim vim

Classification

Weakness
  • CWE-20 Improper Input Validation
  • CWE-122 Heap-based Buffer Overflow

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.