Bug 2119042 (CVE-2022-2816) - CVE-2022-2816 vim: out-of-bounds read in check_vim9_unlet() at src/vim9cmds.c
Summary: CVE-2022-2816 vim: out-of-bounds read in check_vim9_unlet() at src/vim9cmds.c
Alias: CVE-2022-2816
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
Depends On: 2119044
Blocks: 2119047
TreeView+ depends on / blocked
Reported: 2022-08-17 10:56 UTC by TEJ RATHI
Modified: 2022-09-03 05:32 UTC (History)
4 users (show)

Fixed In Version: vim 9.0.0212
Doc Type: If docs needed, set a value
Doc Text:
An out-of-bounds read vulnerability was found in Vim in the check_vim9_unlet function in the vim9cmds.c file. This issue occurs because of invalid memory access when compiling the unlet command 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 out-of-bounds read, causing the application to crash, possibly executing code and corrupting memory.
Clone Of:
Last Closed: 2022-09-03 05:32:47 UTC

Attachments (Terms of Use)

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

Affects: fedora-all [bug 2119044]

Comment 2 Product Security DevOps Team 2022-09-03 05:32:45 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):


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