Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| vim / vim | affected >= 9.2.0511, < 9.2.0844 |
CWE
CWE-416
References
- https://github.com/vim/vim/security/advisories/GHSA-69ch-22ch-r887
- https://github.com/vim/vim/commit/f8126294a526aa80c5123eb3079e325daee9ec75
- https://github.com/vim/vim/releases/tag/v9.2.0844
ADP enrichment
No English description supplied.
No references supplied.