CVE-2026-73071

Vim: Use-after-free in JSON Decoding

State
Published
Severity
3.3 Low
Published
Aug 11, 2026
Updated
Aug 11, 2026
Reserved
Aug 10, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.13.3 LowCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:LGitHub_M

Weaknesses

Affected Products

ProductVersions
vimvim
  • >= 9.2.0511, < 9.2.0844Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.