CVE-2023-46246
Last modified
CVE-2023-46246 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. 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. EPSS estimates a 0.37% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Vim | Vim | < 9.0.2068 |
References
- https://github.com/vim/vim/security/advisories/GHSA-q22m-h7m2-9mgmExploit, Third Party Advisory
- https://github.com/vim/vim/security/advisories/GHSA-q22m-h7m2-9mgmExploit, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2023-46246?
How severe is CVE-2023-46246?
How do I fix CVE-2023-46246?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2023
- CVE-2023-46240CodeIgniter is a PHP full-stack web framework. Prior to Code…7.5
- CVE-2023-46241`discourse-microsoft-auth` is a plugin that enables authenti…8.1
- CVE-2023-46242XWiki Platform is a generic wiki platform offering runtime s…8.8
- CVE-2023-46243XWiki Platform is a generic wiki platform offering runtime s…8.8
- CVE-2023-46244XWiki Platform is a generic wiki platform offering runtime s…8.8
- CVE-2023-46245Kimai is a web-based multi-user time-tracking application. V…7.2
- CVE-2023-46247Vyper is a Pythonic Smart Contract Language for the Ethereum…7.5
- CVE-2023-46248Cody is an artificial intelligence (AI) coding assistant. Th…8.8
- CVE-2023-46249authentik is an open-source Identity Provider. Prior to vers…9.8
- CVE-2023-4625Improper Restriction of Excessive Authentication Attempts vu…5.3
- CVE-2023-46250pypdf is a free and open-source pure-python PDF library. An …5.5
- CVE-2023-46251 MyBB is a free and open source forum software. Custom MyCod…6.1
Are you affected by CVE-2023-46246?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
