Bug 2129838 (CVE-2022-3297) - CVE-2022-3297 vim: use-after-free in process_next_cpt_value() at insexpand.c
Summary: CVE-2022-3297 vim: use-after-free in process_next_cpt_value() at insexpand.c
Status: NEW
Alias: CVE-2022-3297
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Nobody
QA Contact:
Depends On: 2129839 2132748
Blocks: 2129840
TreeView+ depends on / blocked
Reported: 2022-09-26 12:11 UTC by TEJ RATHI
Modified: 2023-07-07 08:33 UTC (History)
3 users (show)

Fixed In Version: vim 9.0.0579
Doc Type: If docs needed, set a value
Doc Text:
A heap use-after-free vulnerability was found in Vim's process_next_cpt_value() function of the src/insexpand.c file. This flaw occurs due to the usage of freed memory when 'tagfunc' wipes out the buffer that holds 'complete.' This flaw allows an attacker to trick a user into opening a specially crafted file, triggering a heap use-after-free issue that causes an application to crash, possibly executing code and corrupting memory.
Clone Of:
Last Closed:

Attachments (Terms of Use)

Comment 1 TEJ RATHI 2022-09-26 12:13:23 UTC
Created vim tracking bugs for this issue:

Affects: fedora-all [bug 2129839]

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