CVE-2025-22134

Updated: 2025-08-29 16:48:40.325389

Description:

When switching to other buffers using the :all command and visual mode still being active, this may cause a heap-buffer overflow, because Vim does not properly end visual mode and therefore may try to access beyond the end of a line in a buffer. In Patch 9.1.1003 Vim will correctly reset the visual mode before opening other windows and buffers and therefore fix this bug. In addition it does verify that it won't try to access a position if the position is greater than the corresponding buffer line. Impact is medium since the user must have switched on visual mode when executing the :all ex command. The Vim project would like to thank github user gandalf4a for reporting this issue. The issue has been fixed as of Vim patch v9.1.1003


Links NIST CIRCL RHEL Ubuntu

Severity

Severity Score
CVSS Version 2.x 0.0
CVSS Version 3.x MEDIUM 5.5

Status

OS name Project name Version Score Severity Status Errata Last updated

Statement

AlmaLinux 9.2 ESU vim 8.2.2637 5.5 MEDIUM Ignored 2025-09-10 13:44:38 This bug is only reachable in a local, interactive Vim session when visual mode is active and the us...
CentOS 6 ELS vim 7.4.629 5.5 MEDIUM Ignored 2025-09-10 13:44:38 Ignored due to low severity
CentOS 7 ELS vim 7.4.629 5.5 MEDIUM Ignored 2025-09-10 13:44:39 Ignored due to low severity
Debian 10 ELS vim 8.1.0875 5.5 MEDIUM Released CLSA-2025:1765286037 2025-12-09 21:55:01
Oracle Linux 6 ELS vim 7.4.629 5.5 MEDIUM Ignored 2025-09-10 13:44:41 Ignored due to low severity
Oracle Linux 7 ELS vim 7.4.629 5.5 MEDIUM Ignored 2025-10-07 16:39:28 Ignored due to low severity
TuxCare 9.6 ESU vim 8.2.2637 5.5 MEDIUM Released CLSA-2026:1767712744 2026-01-06 16:19:48 Deprioritize: Exploitation is local-only and requires an interactive Vim session with visual mode al...
Ubuntu 16.04 ELS vim 7.4.1689-3 5.5 MEDIUM Ignored 2025-09-10 13:44:40 Ignored due to low severity