Bug 2132571 (CVE-2022-3256) - CVE-2022-3256 vim: use-after-free in movemark() at mark.c
Summary: CVE-2022-3256 vim: use-after-free in movemark() at mark.c
Status: NEW
Alias: CVE-2022-3256
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Nobody
QA Contact:
Depends On: 2132572 2132748 2132750
Blocks: 2129135
TreeView+ depends on / blocked
Reported: 2022-10-06 07:49 UTC by TEJ RATHI
Modified: 2023-07-07 08:32 UTC (History)
3 users (show)

Fixed In Version: vim 9.0.0530
Doc Type: If docs needed, set a value
Doc Text:
A heap use-after-free vulnerability was found in vim's movemark() function of the src/mark.c file. This issue occurs because vim uses freed memory when 'autocmd' changes the mark. 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:
Last Closed:

Attachments (Terms of Use)

Comment 1 TEJ RATHI 2022-10-06 07:49:55 UTC
Created vim tracking bugs for this issue:

Affects: fedora-all [bug 2132572]

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