CVE-2026-73071 Vim: Use-after-free in JSON Decoding
LowCVSS 3.3
EPSS 0.11%
- Published
- Updated
- Exploit status
- No public exploit known
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.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| vim | = >= 9.2.0511, < 9.2.0844 | No fix listed |
| debian/vim(Debian:14) | < 2:9.2.0858-1 | 2:9.2.0858-1 |
| debian/vim(Debian:14) | = 2:9.1.1230-2 | No fix listed |
| debian/vim(Debian:14) | = 2:9.1.1385-1 | No fix listed |
| debian/vim(Debian:14) | = 2:9.1.1766-1 | No fix listed |
| debian/vim(Debian:14) | = 2:9.1.1829-1 | No fix listed |
| debian/vim(Debian:14) | = 2:9.1.1846-1 | No fix listed |
| debian/vim(Debian:14) | = 2:9.1.1882-1 | No fix listed |
| debian/vim(Debian:14) | = 2:9.1.2103-1 | No fix listed |
| debian/vim(Debian:14) | = 2:9.1.2141-1 | No fix listed |
| debian/vim(Debian:14) | = 2:9.2.0119-1 | No fix listed |
| debian/vim(Debian:14) | = 2:9.2.0136-1 | No fix listed |
| debian/vim(Debian:14) | = 2:9.2.0218-1 | No fix listed |
| debian/vim(Debian:14) | = 2:9.2.0315-1 | No fix listed |
| debian/vim(Debian:14) | = 2:9.2.0338-1 | No fix listed |
| debian/vim(Debian:14) | = 2:9.2.0355-1 | No fix listed |
| debian/vim(Debian:14) | = 2:9.2.0428-1 | No fix listed |
| debian/vim(Debian:14) | = 2:9.2.0461-1 | No fix listed |
| debian/vim(Debian:14) | = 2:9.2.0524-1 | No fix listed |
| debian/vim(Debian:14) | = 2:9.2.0782-1 | No fix listed |
| ubuntu/vim(Ubuntu:22.04) | < 2:8.2.3995-1ubuntu2.35 | 2:8.2.3995-1ubuntu2.35 |
| alpine/vim(Alpine:v3.23) | >= 9.2.0511, < 9.2.0854-r0 | 9.2.0854-r0 |
| alpine/vim(Alpine:v3.24) | >= 9.2.0511, < 9.2.0854-r0 | 9.2.0854-r0 |
| ubuntu/vim(Ubuntu:24.04) | < 2:9.1.0016-1ubuntu7.19 | 2:9.1.0016-1ubuntu7.19 |
| ubuntu/vim(Ubuntu:26.04) | < 2:9.1.2141-1ubuntu4.8 | 2:9.1.2141-1ubuntu4.8 |
Show 2 more
| Product | Affected versions | Fixed in |
|---|---|---|
| vim | >= 9.2.0511, < 9.2.0844 | 9.2.0844 |
| azure linux vim(Azure Linux:3.0) | < 9.2.0957-1 | 9.2.0957-1 |
References
- MSRC Security Update Guide vendor-advisory
- CBL-Mariner Releases vendor-advisory
- https://github.com/vim/vim/security/advisories/GHSA-69ch-22ch-r887 patch vendor-advisory
- https://github.com/vim/vim/commit/f8126294a526aa80c5123eb3079e325daee9ec75 patch
- https://github.com/vim/vim/releases/tag/v9.2.0844 product
- Red Hat CVE page mitigation vendor-advisory
- Red Hat Bugzilla 2514036 issue-tracking
- www.cve.org
- nvd.nist.gov
- Debian Security Tracker CVE-2026-73071 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- USN-8657-1 vendor-advisory
- security.alpinelinux.org vendor-advisory