p PatchFirst

CVE-2026-28421

CVE-2026-28421 · Vim has a heap-buffer-overflow and a segmentation fault

CVSS 5.3 · Medium · EPSS 0.2% · Fix available

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

  • vimNo fix published
  • vim Alpine 3.23Update to 9.2.0078-r0
  • vim Alpine 3.24Update to 9.2.0078-r0
  • vim Debian 12No fix published
  • and 10 more

Check the installed version:

apk list -I -o vim
dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="vim"'

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

Published
Updated

Fixes in distributions

  • DSA-6600-1 · Debian 13 ·
  • RHSA-2026:69128 · Red Hat rhel els 6 ·
  • RLSA-2026:8259 · Rocky Linux 9 ·
  • RHSA-2026:8259 · Red Hat Enterprise Linux 9 appstream, Red Hat Enterprise Linux 9 baseos ·
  • RLSA-2026:7711 · Rocky Linux 10 ·
  • ALSA-2026:8259 · AlmaLinux 9 ·
  • RHSA-2026:7711 · Red Hat Enterprise Linux 10.1 ·
  • ALSA-2026:7711 · AlmaLinux 10 ·
  • RLSA-2026:6915 · Rocky Linux 8 ·
  • SUSE-SU-2026:1051-1 · SUSE Linux Enterprise Server 12 SP5-LTSS, SUSE Linux Enterprise Server LTSS Extended Security 12 SP5 ·
  • RHSA-2026:6915 · Red Hat Enterprise Linux 8 appstream, Red Hat Enterprise Linux 8 baseos ·
  • RHSA-2026:6736 · Red Hat rhel e4s 8.8 appstream, Red Hat rhel e4s 8.8 baseos, Red Hat rhel tus 8.8 appstream, Red Hat rhel tus 8.8 baseos ·
  • SUSE-SU-2026:1095-1 · SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS, SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS, SUSE Linux Enterprise Micro 5.2, SUSE Linux Enterprise Micro 5.3, SUSE Linux Enterprise Micro 5.4, SUSE Linux Enterprise Server 15 SP4-LTSS, SUSE Linux Enterprise Server for SAP Applications 15 SP4 ·
  • SUSE-SU-2026:0910-1 · openSUSE Leap 15.6, SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS, SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS, SUSE Linux Enterprise Micro 5.5, SUSE Linux Enterprise Module for Basesystem 15 SP7, SUSE Linux Enterprise Module for Desktop Applications 15 SP7, SUSE Linux Enterprise Server 15 SP5-LTSS, SUSE Linux Enterprise Server 15 SP6-LTSS, SUSE Linux Enterprise Server for SAP Applications 15 SP5, SUSE Linux Enterprise Server for SAP Applications 15 SP6 ·
  • RHSA-2026:6731 · Red Hat rhel aus 8.6 appstream, Red Hat rhel aus 8.6 baseos, Red Hat rhel e4s 8.6 appstream, Red Hat rhel e4s 8.6 baseos, Red Hat rhel tus 8.6 appstream, Red Hat rhel tus 8.6 baseos ·
  • RHSA-2026:6730 · Red Hat rhel aus 8.2 appstream, Red Hat rhel aus 8.2 baseos ·
  • RHSA-2026:6729 · Red Hat rhel aus 8.4 appstream, Red Hat rhel aus 8.4 baseos, Red Hat rhel eus long life 8.4 appstream, Red Hat rhel eus long life 8.4 baseos ·
  • RHSA-2026:6619 · Red Hat rhel e4s 9.0 appstream, Red Hat rhel e4s 9.0 baseos ·
  • ALSA-2026:6915 · AlmaLinux 8 ·
  • RHSA-2026:6620 · Red Hat rhel e4s 9.2 appstream, Red Hat rhel e4s 9.2 baseos ·
  • RHSA-2026:6617 · Red Hat rhel els 7 ·
  • RHSA-2026:6539 · Red Hat rhel eus 9.6 appstream, Red Hat rhel eus 9.6 baseos ·
  • RHSA-2026:6540 · Red Hat rhel eus 9.4 appstream, Red Hat rhel eus 9.4 baseos ·
  • RHSA-2026:6502 · Red Hat enterprise linux eus 10.0 ·
  • USN-8101-1 · Ubuntu 22.04 LTS, Ubuntu 24.04 LTS, Ubuntu 25.10, Ubuntu Pro 14.04 LTS, Ubuntu Pro 16.04 LTS, Ubuntu Pro 18.04 LTS, Ubuntu Pro 20.04 LTS ·

Stack: system

Affected products and versions

  • vim

    Versions
    • < 9.2.0077: Affected

    No fix published

  • vim Alpine 3.23

    Affected ranges
    • ECOSYSTEM: < 9.2.0078-r0

    Update to 9.2.0078-r0

  • vim Alpine 3.24

    Affected ranges
    • ECOSYSTEM: < 9.2.0078-r0

    Update to 9.2.0078-r0

  • vim Debian 12

    Versions
    • 2:9.0.1378-2
    • 2:9.0.1378-2+deb12u1
    • 2:9.0.1378-2+deb12u2
    • 2:9.0.1658-1
    • 2:9.0.1672-1
    • 2:9.0.1894-1
    All versions (45)
    • 2:9.0.2018-1
    • 2:9.0.2087-1
    • 2:9.0.2103-1
    • 2:9.0.2116-1
    • 2:9.0.2189-1
    • 2:9.1.0-1
    • 2:9.1.0016-1
    • 2:9.1.0199-1
    • 2:9.1.0374-1
    • 2:9.1.0377-1
    • 2:9.1.0496-1
    • 2:9.1.0698-1
    • 2:9.1.0709-1
    • 2:9.1.0709-2
    • 2:9.1.0777-1
    • 2:9.1.0861-1
    • 2:9.1.0967-1
    • 2:9.1.0967-2
    • 2:9.1.1113-1
    • 2:9.1.1230-1
    • 2:9.1.1230-2
    • 2:9.1.1385-1
    • 2:9.1.1766-1
    • 2:9.1.1829-1
    • 2:9.1.1846-1
    • 2:9.1.1882-1
    • 2:9.1.2103-1
    • 2:9.1.2141-1
    • 2:9.2.0119-1
    • 2:9.2.0136-1
    • 2:9.2.0218-1
    • 2:9.2.0315-1
    • 2:9.2.0338-1
    • 2:9.2.0355-1
    • 2:9.2.0428-1
    • 2:9.2.0461-1
    • 2:9.2.0524-1
    • 2:9.2.0782-1
    • 2:9.2.0858-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • vim Debian 13

    Versions
    • 2:9.1.1230-2
    Affected ranges
    • ECOSYSTEM: < 2:9.1.1230-2+deb13u1

    Update to 2:9.1.1230-2+deb13u1

  • vim Debian 14

    Versions
    • 2:9.1.1230-2
    • 2:9.1.1385-1
    • 2:9.1.1766-1
    • 2:9.1.1829-1
    • 2:9.1.1846-1
    • 2:9.1.1882-1
    All versions (8)
    • 2:9.1.2103-1
    • 2:9.1.2141-1
    Affected ranges
    • ECOSYSTEM: < 2:9.2.0119-1

    Update to 2:9.2.0119-1

  • vim Ubuntu Pro 14.04 LTS

    Versions
    • 2:7.4.000-1ubuntu2
    • 2:7.4.052-1ubuntu1
    • 2:7.4.052-1ubuntu2
    • 2:7.4.052-1ubuntu3
    • 2:7.4.052-1ubuntu3.1
    • 2:7.4.052-1ubuntu3.1+esm1
    All versions (26)
    • 2:7.4.052-1ubuntu3.1+esm3
    • 2:7.4.052-1ubuntu3.1+esm4
    • 2:7.4.052-1ubuntu3.1+esm5
    • 2:7.4.052-1ubuntu3.1+esm6
    • 2:7.4.052-1ubuntu3.1+esm7
    • 2:7.4.052-1ubuntu3.1+esm8
    • 2:7.4.052-1ubuntu3.1+esm9
    • 2:7.4.052-1ubuntu3.1+esm10
    • 2:7.4.052-1ubuntu3.1+esm11
    • 2:7.4.052-1ubuntu3.1+esm12
    • 2:7.4.052-1ubuntu3.1+esm13
    • 2:7.4.052-1ubuntu3.1+esm14
    • 2:7.4.052-1ubuntu3.1+esm15
    • 2:7.4.052-1ubuntu3.1+esm16
    • 2:7.4.052-1ubuntu3.1+esm17
    • 2:7.4.052-1ubuntu3.1+esm18
    • 2:7.4.052-1ubuntu3.1+esm19
    • 2:7.4.052-1ubuntu3.1+esm20
    • 2:7.4.052-1ubuntu3.1+esm21
    • 2:7.4.052-1ubuntu3.1+esm22
    Affected ranges
    • ECOSYSTEM: < 2:7.4.052-1ubuntu3.1+esm23

    Update to 2:7.4.052-1ubuntu3.1+esm23

  • vim Ubuntu Pro 16.04 LTS

    Versions
    • 2:7.4.712-2ubuntu4
    • 2:7.4.826-1ubuntu1
    • 2:7.4.826-1ubuntu2
    • 2:7.4.826-1ubuntu3
    • 2:7.4.963-1ubuntu1
    • 2:7.4.963-1ubuntu4
    All versions (37)
    • 2:7.4.963-1ubuntu5
    • 2:7.4.1689-3ubuntu1
    • 2:7.4.1689-3ubuntu1.1
    • 2:7.4.1689-3ubuntu1.2
    • 2:7.4.1689-3ubuntu1.3
    • 2:7.4.1689-3ubuntu1.4
    • 2:7.4.1689-3ubuntu1.5
    • 2:7.4.1689-3ubuntu1.5+esm2
    • 2:7.4.1689-3ubuntu1.5+esm3
    • 2:7.4.1689-3ubuntu1.5+esm4
    • 2:7.4.1689-3ubuntu1.5+esm5
    • 2:7.4.1689-3ubuntu1.5+esm6
    • 2:7.4.1689-3ubuntu1.5+esm7
    • 2:7.4.1689-3ubuntu1.5+esm8
    • 2:7.4.1689-3ubuntu1.5+esm10
    • 2:7.4.1689-3ubuntu1.5+esm11
    • 2:7.4.1689-3ubuntu1.5+esm12
    • 2:7.4.1689-3ubuntu1.5+esm13
    • 2:7.4.1689-3ubuntu1.5+esm14
    • 2:7.4.1689-3ubuntu1.5+esm15
    • 2:7.4.1689-3ubuntu1.5+esm17
    • 2:7.4.1689-3ubuntu1.5+esm18
    • 2:7.4.1689-3ubuntu1.5+esm19
    • 2:7.4.1689-3ubuntu1.5+esm20
    • 2:7.4.1689-3ubuntu1.5+esm22
    • 2:7.4.1689-3ubuntu1.5+esm23
    • 2:7.4.1689-3ubuntu1.5+esm24
    • 2:7.4.1689-3ubuntu1.5+esm25
    • 2:7.4.1689-3ubuntu1.5+esm26
    • 2:7.4.1689-3ubuntu1.5+esm27
    • 2:7.4.1689-3ubuntu1.5+esm28
    Affected ranges
    • ECOSYSTEM: < 2:7.4.1689-3ubuntu1.5+esm29

    Update to 2:7.4.1689-3ubuntu1.5+esm29

  • vim Ubuntu Pro 18.04 LTS

    Versions
    • 2:8.0.0197-4ubuntu5
    • 2:8.0.1144-1ubuntu1
    • 2:8.0.1401-1ubuntu1
    • 2:8.0.1401-1ubuntu2
    • 2:8.0.1401-1ubuntu3
    • 2:8.0.1453-1ubuntu1
    All versions (29)
    • 2:8.0.1453-1ubuntu1.1
    • 2:8.0.1453-1ubuntu1.3
    • 2:8.0.1453-1ubuntu1.4
    • 2:8.0.1453-1ubuntu1.6
    • 2:8.0.1453-1ubuntu1.7
    • 2:8.0.1453-1ubuntu1.8
    • 2:8.0.1453-1ubuntu1.9
    • 2:8.0.1453-1ubuntu1.10
    • 2:8.0.1453-1ubuntu1.11
    • 2:8.0.1453-1ubuntu1.12
    • 2:8.0.1453-1ubuntu1.13
    • 2:8.0.1453-1ubuntu1.13+esm1
    • 2:8.0.1453-1ubuntu1.13+esm3
    • 2:8.0.1453-1ubuntu1.13+esm4
    • 2:8.0.1453-1ubuntu1.13+esm5
    • 2:8.0.1453-1ubuntu1.13+esm6
    • 2:8.0.1453-1ubuntu1.13+esm7
    • 2:8.0.1453-1ubuntu1.13+esm8
    • 2:8.0.1453-1ubuntu1.13+esm9
    • 2:8.0.1453-1ubuntu1.13+esm10
    • 2:8.0.1453-1ubuntu1.13+esm11
    • 2:8.0.1453-1ubuntu1.13+esm12
    • 2:8.0.1453-1ubuntu1.13+esm13
    Affected ranges
    • ECOSYSTEM: < 2:8.0.1453-1ubuntu1.13+esm14

    Update to 2:8.0.1453-1ubuntu1.13+esm14

  • vim Ubuntu Pro 20.04 LTS

    Versions
    • 2:8.1.0875-5ubuntu2
    • 2:8.1.0875-5ubuntu3
    • 2:8.1.0875-5ubuntu4
    • 2:8.1.2269-1ubuntu1
    • 2:8.1.2269-1ubuntu4
    • 2:8.1.2269-1ubuntu5
    All versions (31)
    • 2:8.1.2269-1ubuntu5.3
    • 2:8.1.2269-1ubuntu5.4
    • 2:8.1.2269-1ubuntu5.6
    • 2:8.1.2269-1ubuntu5.7
    • 2:8.1.2269-1ubuntu5.8
    • 2:8.1.2269-1ubuntu5.9
    • 2:8.1.2269-1ubuntu5.11
    • 2:8.1.2269-1ubuntu5.12
    • 2:8.1.2269-1ubuntu5.13
    • 2:8.1.2269-1ubuntu5.14
    • 2:8.1.2269-1ubuntu5.15
    • 2:8.1.2269-1ubuntu5.16
    • 2:8.1.2269-1ubuntu5.17
    • 2:8.1.2269-1ubuntu5.18
    • 2:8.1.2269-1ubuntu5.20
    • 2:8.1.2269-1ubuntu5.21
    • 2:8.1.2269-1ubuntu5.22
    • 2:8.1.2269-1ubuntu5.23
    • 2:8.1.2269-1ubuntu5.24
    • 2:8.1.2269-1ubuntu5.25
    • 2:8.1.2269-1ubuntu5.26
    • 2:8.1.2269-1ubuntu5.29
    • 2:8.1.2269-1ubuntu5.30
    • 2:8.1.2269-1ubuntu5.31
    • 2:8.1.2269-1ubuntu5.32
    Affected ranges
    • ECOSYSTEM: < 2:8.1.2269-1ubuntu5.32+esm2

    Update to 2:8.1.2269-1ubuntu5.32+esm2

  • vim Ubuntu 22.04 LTS

    Versions
    • 2:8.2.2434-3ubuntu3
    • 2:8.2.2434-3ubuntu4
    • 2:8.2.3565-1ubuntu1
    • 2:8.2.3565-1ubuntu2
    • 2:8.2.3565-1ubuntu3
    • 2:8.2.3565-1ubuntu5
    All versions (29)
    • 2:8.2.3995-1ubuntu1
    • 2:8.2.3995-1ubuntu2
    • 2:8.2.3995-1ubuntu2.1
    • 2:8.2.3995-1ubuntu2.3
    • 2:8.2.3995-1ubuntu2.4
    • 2:8.2.3995-1ubuntu2.5
    • 2:8.2.3995-1ubuntu2.7
    • 2:8.2.3995-1ubuntu2.8
    • 2:8.2.3995-1ubuntu2.9
    • 2:8.2.3995-1ubuntu2.10
    • 2:8.2.3995-1ubuntu2.11
    • 2:8.2.3995-1ubuntu2.12
    • 2:8.2.3995-1ubuntu2.13
    • 2:8.2.3995-1ubuntu2.15
    • 2:8.2.3995-1ubuntu2.16
    • 2:8.2.3995-1ubuntu2.17
    • 2:8.2.3995-1ubuntu2.18
    • 2:8.2.3995-1ubuntu2.19
    • 2:8.2.3995-1ubuntu2.20
    • 2:8.2.3995-1ubuntu2.21
    • 2:8.2.3995-1ubuntu2.22
    • 2:8.2.3995-1ubuntu2.23
    • 2:8.2.3995-1ubuntu2.24
    Affected ranges
    • ECOSYSTEM: < 2:8.2.3995-1ubuntu2.26

    Update to 2:8.2.3995-1ubuntu2.26

  • vim Ubuntu 24.04 LTS

    Versions
    • 2:9.0.1672-1ubuntu2
    • 2:9.0.2087-1ubuntu1
    • 2:9.0.2116-1ubuntu1
    • 2:9.0.2116-1ubuntu2
    • 2:9.0.2184-0ubuntu1
    • 2:9.0.2189-1ubuntu1
    All versions (19)
    • 2:9.1.0-1ubuntu1
    • 2:9.1.0016-1ubuntu2
    • 2:9.1.0016-1ubuntu6
    • 2:9.1.0016-1ubuntu7
    • 2:9.1.0016-1ubuntu7.1
    • 2:9.1.0016-1ubuntu7.2
    • 2:9.1.0016-1ubuntu7.3
    • 2:9.1.0016-1ubuntu7.4
    • 2:9.1.0016-1ubuntu7.5
    • 2:9.1.0016-1ubuntu7.6
    • 2:9.1.0016-1ubuntu7.7
    • 2:9.1.0016-1ubuntu7.8
    • 2:9.1.0016-1ubuntu7.9
    Affected ranges
    • ECOSYSTEM: < 2:9.1.0016-1ubuntu7.10

    Update to 2:9.1.0016-1ubuntu7.10

  • vim Ubuntu 25.10

    Versions
    • 2:9.1.0967-1ubuntu4
    • 2:9.1.0967-1ubuntu5
    • 2:9.1.0967-1ubuntu6
    Affected ranges
    • ECOSYSTEM: < 2:9.1.0967-1ubuntu6.1

    Update to 2:9.1.0967-1ubuntu6.1

  • vim Ubuntu 26.04 LTS

    Versions
    • 2:9.1.0967-1ubuntu6
    • 2:9.1.1882-1ubuntu1
    • 2:9.1.1882-1ubuntu2
    • 2:9.1.2141-1ubuntu1
    Affected ranges
    • ECOSYSTEM: < 2:9.1.2141-1ubuntu2

    Update to 2:9.1.2141-1ubuntu2

Original sources

Check your server →