Affected versions
Ubuntu22.04:LTS/vim
- Affected versions
- <2:8.2.3995-1ubuntu2.35
- Fixed version
- 2:8.2.3995-1ubuntu2.35
Ubuntu24.04:LTS/vim
- Affected versions
- <2:9.1.0016-1ubuntu7.19
- Fixed version
- 2:9.1.0016-1ubuntu7.19
Ubuntu26.04:LTS/vim
- Affected versions
- <2:9.1.2141-1ubuntu4.8
- Fixed version
- 2:9.1.2141-1ubuntu4.8
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.
Links
- https://github.com/vim/vim/commit/f8126294a526aa80c5123eb3079e325daee9ec75
- https://github.com/vim/vim/releases/tag/v9.2.0844
- https://github.com/vim/vim/security/advisories/GHSA-69ch-22ch-r887
- https://ubuntu.com/security/CVE-2026-73071
- https://ubuntu.com/security/notices/USN-8657-1
- https://www.cve.org/CVERecord?id=CVE-2026-73071

