Bug 2119043 (CVE-2022-2817) - CVE-2022-2817 vim: heap use-after-free in string_quote() at src/strings.c
Summary: CVE-2022-2817 vim: heap use-after-free in string_quote() at src/strings.c
Status: NEW
Alias: CVE-2022-2817
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Nobody
QA Contact:
Depends On: 2119045 2122297
Blocks: 2119047
TreeView+ depends on / blocked
Reported: 2022-08-17 10:58 UTC by TEJ RATHI
Modified: 2023-07-07 08:28 UTC (History)
4 users (show)

Fixed In Version: vim 9.0.0213
Doc Type: If docs needed, set a value
Doc Text:
A use-after-free vulnerability was found in Vim in the string_quote function in the strings.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, causing the application to crash, possibly executing code and corrupting memory.
Clone Of:
Last Closed:

Attachments (Terms of Use)

Description TEJ RATHI 2022-08-17 10:58:51 UTC
Use After Free in GitHub repository vim/vim prior to 9.0.0212.


Comment 1 TEJ RATHI 2022-08-17 10:59:06 UTC
Created vim tracking bugs for this issue:

Affects: fedora-all [bug 2119045]

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