Vulnerability · Published Feb 27, 2026 · Assigned by GitHub_M

CVE-2026-28418Vim has Heap-based Buffer Overflow in Emacs tags parsing

Medium 4.4

In plain English

A medium-severity heap buffer overflow in vim from vim. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 17% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)4.4Medium
Exploit odds (30 days)0.3%top 82.6% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

Vim is an open source, command line text editor. Prior to version 9.2.0074, a heap-based buffer overflow out-of-bounds read exists in Vim's Emacs-style tags file parsing logic. When processing a malformed tags file, Vim can be tricked into reading up to 7 bytes beyond the allocated memory boundary. Version 9.2.0074 fixes the issue.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.23vim9.2.0078-r0ALPINE-CVE-2026-28418
Alpine:v3.24vim9.2.0078-r0ALPINE-CVE-2026-28418
Debian:12vimno fix listedDEBIAN-CVE-2026-28418
Debian:13vim2:9.1.1230-2+deb13u1DEBIAN-CVE-2026-28418
Debian:14vim2:9.2.0119-1DEBIAN-CVE-2026-28418
Ubuntu:22.04:LTSvim2:8.2.3995-1ubuntu2.26UBUNTU-CVE-2026-28418
Ubuntu:24.04:LTSvim2:9.1.0016-1ubuntu7.10UBUNTU-CVE-2026-28418
Ubuntu:25.10vim2:9.1.0967-1ubuntu6.1UBUNTU-CVE-2026-28418
Ubuntu:26.04:LTSvim2:9.1.2141-1ubuntu2UBUNTU-CVE-2026-28418

Affected products (as reported)

VendorProductVersions
vim vim < 9.2.0074

Weakness: CWE-122, CWE-125 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N

References