CVE-2025-22134
vim: heap-buffer-overflow with visual mode in Vim < 9.1.1003
Severity
LowRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · January 14, 2025
Updated · October 22, 2026
Description
A flaw was found in Vim. Due to Vim not properly terminating visual mode, a heap buffer overflow condition may be triggered when a user switches buffers using the :all command. This issue may lead to unexpected behavior, such as an application crash or memory corruption.
Statement
This vulnerability is rated Low for Red Hat products. The flaw in Vim requires a user to be in visual mode and then execute the :all command, which can lead to a heap buffer overflow. This specific user interaction limits the potential impact in typical Red Hat environments.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 4.2CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:L
CWE-122 · Heap-based Buffer Overflow