Vim >= 9.1.0011 < 9.2.0137 NULL Pointer Dereference (GHSA-9phh-423r-778r)

medium Nessus Plugin ID 303794

Synopsis

The remote host is missing a security update.

Description

The version of Vim installed on the remote host is between 9.1.0011 (inclusive) and 9.2.0137 (exclusive). It is, therefore, affected by a vulnerability as referenced in the GHSA-9phh-423r-778r advisory.

- Vim is an open source, command line text editor. From 9.1.0011 to before 9.2.0137, Vim's NFA regex compiler, when encountering a collection containing a combining character as the endpoint of a character range, incorrectly emits the composing bytes of that character as separate NFA states. This corrupts the NFA postfix stack, resulting in NFA_START_COLL having a NULL out1 pointer. When nfa_max_width() subsequently traverses the compiled NFA to estimate match width for the look-behind assertion, it dereferences state->out1->out without a NULL check, causing a segmentation fault. This vulnerability is fixed in 9.2.0137. (CVE-2026-32249)

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

See Also

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

Plugin Details

Severity: Medium

ID: 303794

File Name: vim_9_2_0137.nasl

Version: 1.1

Type: local

Agent: windows, macosx, unix

Family: Misc.

Published: 3/26/2026

Updated: 3/26/2026

Configuration: Enable thorough checks (optional)

Supported Sensors: Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 4.4

CVSS v2

Risk Factor: Medium

Base Score: 4.7

Vector: CVSS2#AV:L/AC:M/Au:N/C:N/I:N/A:C

CVSS Score Source: CVE-2026-32249

CVSS v3

Risk Factor: Medium

Base Score: 5.5

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

Vulnerability Information

CPE: cpe:/a:vim:vim

Required KB Items: installed_sw/Vim

Patch Publication Date: 3/11/2026

Vulnerability Publication Date: 3/11/2026

Reference Information

CVE: CVE-2026-32249