3.3Low

CVE-2026-73071Vim: Use-after-free in JSON Decoding

vim vim Published: (3 months ago)

Description

Vim is an open source, command line text editor. 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. This issue is fixed in version 9.2.0844.

Weakness (CWE): CWE-416

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
vim vim >= 9.2.0511, < 9.2.0844

References and patches

CPE matches (NVD) (1)

  • cpe:2.3:a:vim:vim:*:*:*:*:*:*:*:* ≥ 9.2.0511 < 9.2.0844