4.4medium
Vim has Heap-based Buffer Overflow in Emacs tags parsing
- Severity
- 4.4medium CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.25% (higher than 17% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
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
| Product or package | Versions | Reported by |
|---|---|---|
| vim vim | < 9.2.0074, before 9.2.0074 | CVE List, NVD |
All scores
| GitHub_M | 4.4medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N |
| NVD | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
Classification
What each source says
CVE List
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.
NVD (es)
Vim es un editor de texto de código abierto y de línea de comandos. Antes de la versión 9.2.0074, hay un desbordamiento de búfer basado en montículo con lectura fuera de límites en la lógica de análisis de archivos de etiquetas estilo Emacs de Vim. Al procesar un archivo de etiquetas malformado, Vim puede ser engañado para leer hasta 7 bytes más allá del límite de memoria asignada. La versión 9.2.0074 corrige el problema.
References
| https://github.com/vim/vim/security/advisories/GHSA-h4mf-vg97-hj8j | patch, vendor-advisory | |
| https://github.com/vim/vim/commit/f6a7f469a9c0d09e84cd6cb | patch | |
| https://github.com/vim/vim/releases/tag/v9.2.0074 | release-notes | |
| http://www.openwall.com/lists/oss-security/2026/02/27/7 | mailing-list, patch, third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-28418 changed 2026-03-02 | CVE Terms of Use |
| NVD | CVE-2026-28418 changed 2026-06-17 | Public domain |