Vim 9.1.1003 (GHSA-5rgf-26wj-48v8)

medium Nessus Plugin ID 214215

Synopsis

The remote host is missing a security update.

Description

The version of Vim installed on the remote host is prior to 9.1.1003. It is, therefore, affected by a vulnerability as referenced in the GHSA-5rgf-26wj-48v8 advisory.

- 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 (CVE-2025-22134)

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

Upgrade to Vim version 9.1.1003 or later.

See Also

https://github.com/vim/vim/security/advisories/GHSA-5rgf-26wj-48v8

Plugin Details

Severity: Medium

ID: 214215

File Name: vim_GHSA-5rgf-26wj-48v8.nasl

Version: 1.2

Type: local

Agent: windows

Family: Windows

Published: 1/15/2025

Updated: 1/17/2025

Supported Sensors: Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 4.9

CVSS v2

Risk Factor: Low

Base Score: 3.5

Temporal Score: 2.6

Vector: CVSS2#AV:L/AC:H/Au:S/C:P/I:P/A:P

CVSS Score Source: CVE-2025-22134

CVSS v3

Risk Factor: Medium

Base Score: 4.2

Temporal Score: 3.7

Vector: CVSS:3.0/AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:L

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

CPE: cpe:/a:vim:vim

Required KB Items: SMB/Registry/Enumerated, installed_sw/Vim

Exploit Ease: No known exploits are available

Patch Publication Date: 1/11/2025

Vulnerability Publication Date: 1/13/2025

Reference Information

CVE: CVE-2025-22134

IAVA: 2025-A-0020