Bug 2106775 (CVE-2022-2345) - CVE-2022-2345 vim: use-after-free in skipwhite() in charset.c
Summary: CVE-2022-2345 vim: use-after-free in skipwhite() in charset.c
Status: NEW
Alias: CVE-2022-2345
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
Depends On: 2106871 2107305
Blocks: 2106038
TreeView+ depends on / blocked
Reported: 2022-07-13 14:03 UTC by Guilherme de Almeida Suckevicz
Modified: 2022-07-19 16:19 UTC (History)
4 users (show)

Fixed In Version: vim 9.0.0047
Doc Type: If docs needed, set a value
Doc Text:
A use-after-free vulnerability was found in Vim in the skipwhite function in the charset.c file. This issue occurs because an already freed memory is used when a specially crafted input is processed. This flaw allows an attacker who can trick a user into opening a specially crafted file into triggering the use-after-free, and cause the application to crash, possibly executing code and corrupting memory.
Clone Of:
Last Closed:

Attachments (Terms of Use)

Description Guilherme de Almeida Suckevicz 2022-07-13 14:03:27 UTC
Use After Free in GitHub repository vim/vim prior to 9.0.0046.


Upstream patch:

Note You need to log in before you can comment on or make changes to this bug.