Heap-based buffer overflow in Vim - CVE-2026-73074

 

Heap-based buffer overflow in Vim - CVE-2026-73074

Published: July 24, 2026 / Updated: August 13, 2026


Vulnerability identifier: #VU139259
CSH Severity: Low
CVSS v4: 1.8 [CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-73074
CWE-ID: CWE-122
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to crash the application.

The vulnerability exists due to an integer overflow leading to a heap-based buffer overflow in prop_add_one() in src/textprop.c when adding text properties to a single line. A remote attacker can add a large number of crafted text properties to trigger an out-of-bounds heap write and to cause a denial of service and potentially execute arbitrary code.

Exploitation requires Vim to be built with the textprop feature and requires a script or plugin path that causes 65536 text properties to be added to a single line, such as processing attacker-controlled file contents through a plugin.


Affected software

Vim
SUSE Linux Enterprise Server 12 SP5
SUSE Linux Enterprise Server 12 SP5 LTSS Extended
SUSE Linux Enterprise Server 15 SP5
SUSE Linux Enterprise Server 15 SP6
SUSE Linux Enterprise Server 15 SP4
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise High Performance Computing ESPOS 15
SUSE Linux Enterprise High Performance Computing LTSS 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise High Performance Computing 12
SUSE Linux Enterprise Server for SAP Applications 12
SUSE Linux Enterprise Server 12
SUSE Linux Enterprise Desktop 15
SUSE Linux Enterprise Real Time 15
SUSE Linux Enterprise Micro for Rancher
SUSE Linux Enterprise Micro
Desktop Applications Module
Basesystem Module
openSUSE Leap
openEuler
vim-filesystem
vim-minimal
vim-enhanced
vim-debugsource
vim-debuginfo
vim-common
vim-X11
vim
vim-data
vim-data-common
gvim
gvim-debuginfo
vim-small
vim-small-debuginfo

How to mitigate CVE-2026-73074

Install security update from vendor's website.

Vim - update to 9.2.0841
vim-filesystem - update to 9.0-58
vim-minimal - update to 9.0-58
vim-enhanced - update to 9.0-58
vim-debugsource - update to 9.0-58
vim-debuginfo - update to 9.0-58
vim-common - update to 9.0-58
vim-X11 - update to 9.0-58
vim - update to 9.0-58
vim-data - addressed in versions 9.2.0957-17.76.1, 9.2.0957-150000.5.102.1, 9.2.0957-150500.20.64.1
vim-data-common - addressed in versions 9.2.0957-17.76.1, 9.2.0957-150000.5.102.1, 9.2.0957-150500.20.64.1
vim-debugsource - addressed in versions 9.2.0957-17.76.1, 9.2.0957-150000.5.102.1, 9.2.0957-150500.20.64.1
vim-debuginfo - addressed in versions 9.2.0957-17.76.1, 9.2.0957-150000.5.102.1, 9.2.0957-150500.20.64.1
gvim - addressed in versions 9.2.0957-17.76.1, 9.2.0957-150000.5.102.1, 9.2.0957-150500.20.64.1
gvim-debuginfo - addressed in versions 9.2.0957-17.76.1, 9.2.0957-150000.5.102.1, 9.2.0957-150500.20.64.1
vim - addressed in versions 9.2.0957-17.76.1, 9.2.0957-150000.5.102.1, 9.2.0957-150500.20.64.1
vim-small - addressed in versions 9.2.0957-150000.5.102.1, 9.2.0957-150500.20.64.1
vim-small-debuginfo - addressed in versions 9.2.0957-150000.5.102.1, 9.2.0957-150500.20.64.1

External References

Related Security Bulletins