VDB

CVE-2026-28421

CVE-2026-28421 PUBLISHED CVSS 5.3 MEDIUM

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

Reported by github_m · Published February 27, 2026

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
vim-debuginfoerrata.rockylinux.org2:8.2.2637-23.el9_7.2.x86_64, 2:8.2.2637-23.el9_7.2.s390x, 2:8.0.1763-22.el8_10.1.aarch64
vimerrata.rockylinux.org2:9.1.083-6.el10_1.3.src, 2:8.2.2637-23.el9_7.2.src
xxderrata.rockylinux.org2:9.1.083-6.el10_1.3.s390x
vim-common-debuginfoerrata.rockylinux.org2:8.2.2637-23.el9_7.2.s390x, 2:8.2.2637-23.el9_7.2.ppc64le, 2:8.0.1763-22.el8_10.1.x86_64, 2:8.0.1763-22.el8_10.1.aarch64
vim-minimal-debuginfoerrata.rockylinux.org2:9.1.083-6.el10_1.3.x86_64, 2:8.0.1763-22.el8_10.1.x86_64, 2:8.0.1763-22.el8_10.1.aarch64
vim-X11-debuginfoerrata.rockylinux.org2:9.1.083-6.el10_1.3.x86_64, 2:9.1.083-6.el10_1.3.ppc64le, 2:8.0.1763-22.el8_10.1.x86_64, 2:8.0.1763-22.el8_10.1.aarch64
vim-enhanced-debuginfoerrata.rockylinux.org2:8.2.2637-23.el9_7.2.ppc64le
vim-X11errata.rockylinux.org2:9.1.083-6.el10_1.3.s390x, 2:8.2.2637-23.el9_7.2.x86_64, 2:8.2.2637-23.el9_7.2.aarch64
vim-filesystemerrata.rockylinux.org2:9.1.083-6.el10_1.3.noarch, 2:8.2.2637-23.el9_7.2.noarch, 2:8.0.1763-22.el8_10.1.noarch
vim-minimalerrata.rockylinux.org2:9.1.083-6.el10_1.3.s390x, 2:8.0.1763-22.el8_10.1.aarch64
xxd-debuginfoerrata.rockylinux.org2:9.1.083-6.el10_1.3.ppc64le
vim-enhancederrata.rockylinux.org2:9.1.083-6.el10_1.3.ppc64le, 2:8.0.1763-22.el8_10.1.aarch64

6 more packages have a fixed version. See every fix in Lookup.

Risk scores

CVSS 3.1
5.3
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L

Affected products

VendorProductVersions
vimvim< 9.2.0077
amazon:2023vim-common0
amazon:2023vim-data0
vimvim0
amazon:2023vim-minimal0
amazon:2023vim-default-editor0
amazon:2023vim-enhanced0
alpinevim0
amazon:2023xxd0
amazon:2023vim-filesystem0

Timeline

  • Feb 27, 2026 CVE Published
  • Feb 28, 2026 EPSS Score (30 in total, the first dated here)
  • Mar 17, 2026 Coalition ESS Score (2 in total, the first dated here)
  • Apr 2, 2026 Security Advisory (35 in total, the first dated here)
  • Apr 3, 2026 Distribution Patch (30 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-28421
vulnetix vdb fixes CVE-2026-28421

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-28421/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›