CVE-2026-28422 json
Vim has stack-buffer-overflow in build_stl_str_hl()
published 2026-02-27 8 mo ago modified 2026-06-17 4 mo ago also EUVD-2026-9090
- cvss
- 2.2
- 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 5%
- public exploits
- 0
- none known
Summary
Vim is an open source, command line text editor. Prior to version 9.2.0078, a stack-buffer-overflow occurs in `build_stl_str_hl()` when rendering a statusline with a multi-byte fill character on a very wide terminal. Version 9.2.0078 patches the issue.
Patch / fix
- vim vim 9.2.0078
- vim Debian 13 2:9.1.1230-2+deb13u1
- vim Debian 14 2:9.2.0119-1
debian advisories DEBIAN-CVE-2026-28422
- 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-28422
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 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 Alpine 3.24, Alpine 3.23 9.2.0078-r0
alpine advisories ALPINE-CVE-2026-28422
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
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-28422 updated cvss 2.2
vim: Vim: Integrity impact due to stack-buffer-overflow via wide terminal statusline rendering
-
Red Hat Enterprise Linux 6 vim, vim-X11, vim-common, vim-minimal, vim-enhanced, vim-filesystem Red Hat Enterprise Linux 7 vim, vim-X11, vim-common, vim-minimal, vim-enhanced, vim-filesystem Red Hat Enterprise Linux 8 vim, vim-X11, vim-common, vim-minimal, vim-enhanced, vim-filesystem Red Hat Enterprise Linux 9 vim, vim-X11, vim-common, vim-minimal, vim-enhanced, vim-filesystem Red Hat Enterprise Linux 10 vim Red Hat OpenShift Container Platform 4 openshift/ose-rhel-coreos-8, openshift/ose-rhel-coreos-9affected: workaround, no fix available “Fix deferred”
-
Red Hat OpenShift AI (RHOAI) rhoai/odh-dashboard-rhel9under investigation
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
- partial
- Assessed
- 8 mo ago
Exploit prediction
0.17% chance of exploitation in the next 30 days, higher than 5% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 2.2 | CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:L/A:N |
Affected products
- vim vim
Classification
- Weakness
-
- CWE-121 Stack-based Buffer Overflow
References
-
github.com
/vim/vim/commit/4e5b9e31cb7484ad156f
patch
-
github.com
/vim/vim/security/advisories/GHSA-gmqx-prf2-8mwf
patch, vendor-advisory
-
openwall.com
/lists/oss-security/2026/02/27/11
mailing-list, patch, third-party-advisory
-
github.com
/vim/vim/releases/tag/v9.2.0078
product
Sources
- CVE List CVE-2026-28422
- NVD CVE-2026-28422
Fencer Vulns 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.