Bug 2124208 (CVE-2022-3016) - CVE-2022-3016 vim: use-after-free in get_next_valid_entry() at src/quickfix.c
Summary: CVE-2022-3016 vim: use-after-free in get_next_valid_entry() at src/quickfix.c
Keywords:
Status: NEW
Alias: CVE-2022-3016
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Nobody
QA Contact:
URL:
Whiteboard:
Depends On: 2124209 2124236
Blocks: 2124188
TreeView+ depends on / blocked
 
Reported: 2022-09-05 09:25 UTC by TEJ RATHI
Modified: 2023-07-07 08:30 UTC (History)
3 users (show)

Fixed In Version: vim 9.0.0286
Doc Type: If docs needed, set a value
Doc Text:
A heap use-after-free vulnerability was found in vim's get_next_valid_entry() function of the src/quickfix.c file. The issue occurs because vim is using freed memory when the location list is changed in autocmd. This flaw allows an attacker to trick a user into opening a specially crafted file, triggering a heap use-after-free that causes an application to crash, possibly executing code and corrupting memory.
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Comment 1 TEJ RATHI 2022-09-05 09:26:03 UTC
Created vim tracking bugs for this issue:

Affects: fedora-all [bug 2124209]


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