Bug 2099979 (CVE-2022-1720) - CVE-2022-1720 vim: buffer over-read in grab_file_name() in findfile.c
Summary: CVE-2022-1720 vim: buffer over-read in grab_file_name() in findfile.c
Alias: CVE-2022-1720
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
Depends On: 2099980 2099986 2099987
Blocks: 2099378
TreeView+ depends on / blocked
Reported: 2022-06-22 06:15 UTC by TEJ RATHI
Modified: 2022-08-16 10:47 UTC (History)
4 users (show)

Fixed In Version: vim 8.2.4956
Doc Type: If docs needed, set a value
Doc Text:
A heap buffer over-read vulnerability was found in Vim's grab_file_name() function of the src/findfile.c file. This flaw occurs because the function reads after the NULL terminates the line with "gf" in Visual block mode. This flaw allows an attacker to trick a user into opening a specially crafted file, triggering a heap buffer over-read vulnerability that causes an application to crash and corrupt memory.
Clone Of:
Last Closed: 2022-06-24 11:40:08 UTC

Attachments (Terms of Use)

Comment 1 TEJ RATHI 2022-06-22 06:26:04 UTC
Created vim tracking bugs for this issue:

Affects: fedora-all [bug 2099980]

Comment 3 Product Security DevOps Team 2022-06-24 11:40:06 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.