Vim < 9.2.0077 Heap-based Buffer Overflow (GHSA-r2gw-2x48-jj5p)

high Nessus Plugin ID 301510

Synopsis

The remote host is missing a security update.

Description

The version of Vim installed on the remote host is prior to 9.2.0077. It is, therefore, affected by a vulnerability as referenced in the GHSA-r2gw-2x48-jj5p advisory.

- Vim is an open source, command line text editor. Versions prior to 9.2.0077 have a heap-buffer-overflow and a segmentation fault (SEGV) exist in Vim's swap file recovery logic. Both are caused by unvalidated fields read from crafted pointer blocks within a swap file. Version 9.2.0077 fixes the issue. (CVE-2026-28421)

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.2.0077 or later.

See Also

http://www.nessus.org/u?e741b6dc

Plugin Details

Severity: High

ID: 301510

File Name: vim_9_2_0077.nasl

Version: 1.1

Type: local

Agent: windows, macosx, unix

Family: Misc.

Published: 3/9/2026

Updated: 3/9/2026

Supported Sensors: Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v3

Risk Factor: High

Base Score: 7.8

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

CVSS Score Source: CVE-2026-28421

Vulnerability Information

CPE: cpe:/a:vim:vim

Required KB Items: installed_sw/Vim

Patch Publication Date: 2/27/2026

Vulnerability Publication Date: 2/27/2026

Reference Information

CVE: CVE-2026-28421

IAVA: 2026-A-0195