Heap-based buffer overflow in Vim - CVE-2026-25749
Published: February 5, 2026
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to a boundary error within the get_tagfname() function in src/tag.c. A remote attacker can create a specially crafted file, trick the victim into opening it, trigger a heap-based buffer overflow and execute arbitrary code on the target system.
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.
Affected software
IBM Qradar SIEM
Debian Linux
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for ARM 64
Anolis OS
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux Server - AUS
Red Hat Enterprise Linux Server - TUS
Red Hat Enterprise Linux for x86_64 - Extended Update Support
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Red Hat Enterprise Linux for ARM 64 - Extended Update Support
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
Ubuntu
openEuler
Fedora
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions
vim (Ubuntu package)
vim (Debian package)
vim (Red Hat package)
vim-filesystem
vim-minimal
vim-enhanced
vim-common
vim-X11
vim-doc
vim-data
vim
vim-debuginfo
vim-debugsource
vim-debuginfo (Red Hat package)
vim-X11-debuginfo (Red Hat package)
Red Hat OpenShift Container Platform
How to mitigate CVE-2026-25749
IBM Qradar SIEM - update to 7.5.0 UP15 IF06
vim (Ubuntu package) - addressed in versions 2:7.4.052-1ubuntu3.1+esm23, 2:7.4.1689-3ubuntu1.5+esm29, 2:8.0.1453-1ubuntu1.13+esm14, 2:8.1.2269-1ubuntu5.32+esm2, 2:8.2.3995-1ubuntu2.26, 2:9.1.0016-1ubuntu7.10, 2:9.1.0967-1ubuntu6.1
vim (Debian package) - update to 2:9.1.1230-2+deb13u1
vim (Red Hat package) - addressed in versions 7.4.629-8.el7_9.1, 8.0.1763-13.el8_2.1, 8.0.1763-15.el8_4.1, 8.0.1763-19.el8_6.5, 8.0.1763-20.el8_8.1, 8.0.1763-22.el8_10, 8.2.2637-16.el9_0.4, 8.2.2637-20.el9_4.2, 8.2.2637-22.el9_6.2, 8.2.2637-23.el9_7.1, 9.1.083-5.el10_0.2
vim-filesystem - addressed in versions 8.0.1763-22.0.1, 9.0.2092-10
vim-minimal - addressed in versions 8.0.1763-22.0.1, 9.0.2092-10
vim-enhanced - addressed in versions 8.0.1763-22.0.1, 9.0.2092-10
vim-common - addressed in versions 8.0.1763-22.0.1, 9.0.2092-10
vim-X11 - addressed in versions 8.0.1763-22.0.1, 9.0.2092-10
vim-doc - update to 9.0.2092-10
vim-data - update to 9.0.2092-10
vim-X11 - update to 9.0.2092-23
vim-common - update to 9.0.2092-23
vim - update to 9.0.2092-23
vim-enhanced - update to 9.0.2092-23
vim-debuginfo - update to 9.0.2092-23
vim-filesystem - update to 9.0.2092-23
vim-minimal - update to 9.0.2092-23
vim-debugsource - update to 9.0.2092-23
vim-debuginfo (Red Hat package) - update to 9.1.083-6.el10_1.1
vim-X11-debuginfo (Red Hat package) - update to 9.1.083-6.el10_1.1
vim - addressed in versions 9.1.2146-1.fc42, 9.1.2146-1.fc43
Red Hat OpenShift Container Platform - addressed in versions 4.13.65, 4.18.38, 4.19.28
External References
Related Security Bulletins
- Heap-based buffer overflow in Vim
- Fedora 43 update for vim
- Fedora 42 update for vim
- openEuler update for vim
- Anolis OS update for vim
- Red Hat Enterprise Linux 8 update for vim
- Red Hat Enterprise Linux 10 update for vim
- Anolis OS update for vim
- Red Hat Enterprise Linux 9 update for vim
- Ubuntu update for vim
- Red Hat Enterprise Linux 10 update for vim
- Red Hat Enterprise Linux 9 update for vim
- Red Hat Enterprise Linux 9 update for vim
- Red Hat Enterprise Linux 7 Extended Lifecycle Support update for vim
- Red Hat Enterprise Linux 9 update for vim
- Red Hat Enterprise Linux 8 update for vim
- Red Hat Enterprise Linux 8 update for vim
- Red Hat Enterprise Linux 8 update for vim
- Red Hat Enterprise Linux 8 update for vim
- Multiple vulnerabilities in Red Hat OpenShift Container Platform 4.13
- Multiple vulnerabilities in Red Hat OpenShift Container Platform 4.19
- Multiple vulnerabilities in Red Hat OpenShift Container Platform 4.18
- Debian update for vim
- Multiple vulnerabilities in IBM QRadar SIEM