Vim 9.2.0511 < 9.2.0844 Use-After-Free (GHSA-69ch-22ch-r887)

low Nessus Plugin ID 335162

Synopsis

A text editor installed on the remote host is affected by a use-after-free vulnerability.

Description

The version of Vim installed on the remote host is between 9.2.0511 and 9.2.0844 (exclusive). It is, therefore, affected by a vulnerability as referenced in the GHSA-69ch-22ch-r887 advisory.

- From 9.2.0511 until 9.2.0844, json_decode_item() in src/json.c can retain a stale pointer after json_decode_string() invokes channel_fill() to refill and free the current buffer, causing the error path to read freed memory instead of reader->js_buf + reader->js_used when an invalid JSON string spans buffers.
(CVE-2026-73071)

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

See Also

https://github.com/vim/vim/security/advisories/GHSA-69ch-22ch-r887

Plugin Details

Severity: Low

ID: 335162

File Name: vim_9_2_0844.nasl

Version: 1.1

Type: Local

Agent: windows, macosx, unix

Family: Misc.

Published: 8/13/2026

Updated: 8/13/2026

Configuration: Enable thorough checks (optional)

Supported Sensors: Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Low

Score: 1.2

Percentile: 0.01

CVSS v2

Risk Factor: Low

Base Score: 1.7

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

CVSS Score Source: CVE-2026-73071

CVSS v3

Risk Factor: Low

Base Score: 3.3

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

Vulnerability Information

CPE: cpe:/a:vim:vim

Required KB Items: installed_sw/Vim

Patch Publication Date: 7/24/2026

Vulnerability Publication Date: 7/24/2026

Reference Information

CVE: CVE-2026-73071

CWE: 416