5.3medium
Vim has a heap-buffer-overflow and a segmentation fault
- Severity
- 5.3medium CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.20% (higher than 10% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| vim vim | < 9.2.0077, before 9.2.0077 | CVE List, NVD |
All scores
| GitHub_M | 5.3medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L |
| NVD | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Classification
What each source says
CVE List
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.
NVD (es)
Vim es un editor de texto de código abierto, de línea de comandos. En las versiones anteriores a la 9.2.0077, existen un desbordamiento de búfer de pila y un fallo de segmentación (SEGV) en la lógica de recuperación de archivos de intercambio de Vim. Ambos son causados por campos no validados leídos de bloques de puntero manipulados dentro de un archivo de intercambio. La versión 9.2.0077 corrige el problema.
References
| https://github.com/vim/vim/security/advisories/GHSA-r2gw-2x48-jj5p | patch, vendor-advisory | |
| https://github.com/vim/vim/commit/65c1a143c331c886dc28 | patch | |
| https://github.com/vim/vim/releases/tag/v9.2.0077 | product | |
| http://www.openwall.com/lists/oss-security/2026/02/27/10 | mailing-list, patch, third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-28421 changed 2026-05-28 | CVE Terms of Use |
| NVD | CVE-2026-28421 changed 2026-06-17 | Public domain |