Out-of-bounds write in Vim - CVE-2025-24014

 

Out-of-bounds write in Vim - CVE-2025-24014

Published: January 21, 2025


Vulnerability identifier: #VU103117
CSH Severity: High
CVSS v4: 8.4 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2025-24014
CWE-ID: CWE-787
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to compromise vulnerable system.

The vulnerability exists due to a boundary error when processing untrusted input. A remote attacker can create a specially crafted file, trick the victim into opening it using the affected software, trigger an out-of-bounds write and execute arbitrary code on the target system.


Affected software

Vim
SUSE Linux Enterprise Server 12 SP5 LTSS Extended
SUSE Linux Enterprise Server 12
SUSE Linux Enterprise Server for SAP Applications 12
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise Real Time 15
SUSE Linux Enterprise Desktop 15
SUSE Linux Enterprise Micro
SUSE Linux Enterprise Micro for Rancher
Ubuntu
Desktop Applications Module
Basesystem Module
openSUSE Leap
openEuler
SmartFabric Manager
APEX Cloud Platform for Microsoft Azure
APEX Cloud Platform for Red Hat OpenShift
vim (Ubuntu package)
vim-minimal
vim-filesystem
vim-enhanced
vim
vim-X11
vim-common
vim-debuginfo
vim-debugsource
gvim-debuginfo
gvim
vim-data-common
vim-data
vim-small-debuginfo
xxd
vim-small

How to mitigate CVE-2025-24014

Install updates from vendor's website.

Vim - update to 9.1.1043
SmartFabric Manager - update to 1.3.0
APEX Cloud Platform for Microsoft Azure - update to 01.04.01.00
APEX Cloud Platform for Red Hat OpenShift - update to 03.02.04.00
vim (Ubuntu package) - addressed in versions 2:7.4.052-1ubuntu3.1+esm22, 2:7.4.1689-3ubuntu1.5+esm28, 2:8.0.1453-1ubuntu1.13+esm13, 2:8.1.2269-1ubuntu5.31, 2:8.2.3995-1ubuntu2.23, 2:9.1.0016-1ubuntu7.7, 2:9.1.0496-1ubuntu6.4
vim-minimal - update to 9.0.2092-16
vim-filesystem - update to 9.0.2092-16
vim-enhanced - update to 9.0.2092-16
vim - update to 9.0.2092-16
vim-X11 - update to 9.0.2092-16
vim-common - update to 9.0.2092-16
vim-debuginfo - update to 9.0.2092-16
vim-debugsource - update to 9.0.2092-16
vim-debuginfo - addressed in versions 9.1.1101-17.41.1, 9.1.1101-150000.5.69.1, 9.1.1101-150500.20.21.1
gvim-debuginfo - addressed in versions 9.1.1101-17.41.1, 9.1.1101-150500.20.21.1
vim-debugsource - addressed in versions 9.1.1101-17.41.1, 9.1.1101-150000.5.69.1, 9.1.1101-150500.20.21.1
gvim - addressed in versions 9.1.1101-17.41.1, 9.1.1101-150500.20.21.1
vim - addressed in versions 9.1.1101-17.41.1, 9.1.1101-150500.20.21.1
vim-data-common - addressed in versions 9.1.1101-17.41.1, 9.1.1101-150000.5.69.1, 9.1.1101-150500.20.21.1
vim-data - addressed in versions 9.1.1101-17.41.1, 9.1.1101-150500.20.21.1
vim-small-debuginfo - addressed in versions 9.1.1101-150000.5.69.1, 9.1.1101-150500.20.21.1
xxd - update to 9.1.1101-150000.5.69.1
vim-small - addressed in versions 9.1.1101-150000.5.69.1, 9.1.1101-150500.20.21.1

External References

Related Security Bulletins