5.5
CVSSv3

CVE-2023-46246

Published: 27/10/2023 Updated: 17/12/2023
CVSS v3 Base Score: 5.5 | Impact Score: 3.6 | Exploitability Score: 1.8
VMScore: 0

Vulnerability Summary

Vim is an improved version of the good old UNIX editor Vi. Heap-use-after-free in memory allocated in the function `ga_grow_inner` in in the file `src/alloc.c` at line 748, which is freed in the file `src/ex_docmd.c` in the function `do_cmdline` at line 1010 and then used again in `src/cmdhist.c` at line 759. When using the `:history` command, it's possible that the provided argument overflows the accepted value. Causing an Integer Overflow and potentially later an use-after-free. This vulnerability has been patched in version 9.0.2068. (CVE-2023-46246) Heap-based Buffer Overflow in GitHub repository vim/vim before 9.0.1969. (CVE-2023-5344) NULL Pointer Dereference in GitHub repository vim/vim before 20d161ace307e28690229b68584f2d84556f8960. (CVE-2023-5441) Use After Free in GitHub repository vim/vim prior to v9.0.2010. (CVE-2023-5535)

Vulnerable Product Search on Vulmon Subscribe to Product

vim vim

Vendor Advisories

Vim is an improved version of the good old UNIX editor Vi Heap-use-after-free in memory allocated in the function `ga_grow_inner` in in the file `src/allocc` at line 748, which is freed in the file `src/ex_docmdc` in the function `do_cmdline` at line 1010 and then used again in `src/cmdhistc` at line 759 When using the `:history` command, it's ...
Vim is an improved version of the good old UNIX editor Vi Heap-use-after-free in memory allocated in the function `ga_grow_inner` in in the file `src/allocc` at line 748, which is freed in the file `src/ex_docmdc` in the function `do_cmdline` at line 1010 and then used again in `src/cmdhistc` at line 759 When using the `:history` command, it's ...
DescriptionThe MITRE CVE dictionary describes this issue as: Vim is an improved version of the good old UNIX editor Vi Heap-use-after-free in memory allocated in the function `ga_grow_inner` in in the file `src/allocc` at line 748, which is freed in the file `src/ex_docmdc` in the function `do_cmdline` at line 1010 and then used again in `src/cm ...