Bug 2112299 (CVE-2022-2522) - CVE-2022-2522 vim: heap-based buffer overflow in ins_compl_infercase_gettext() at src/insexpand.c
Summary: CVE-2022-2522 vim: heap-based buffer overflow in ins_compl_infercase_gettext(...
Keywords:
Status: NEW
Alias: CVE-2022-2522
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: 2112300 2115311 2115312
Blocks: 2111161
TreeView+ depends on / blocked
 
Reported: 2022-07-29 09:41 UTC by TEJ RATHI
Modified: 2023-07-07 08:35 UTC (History)
3 users (show)

Fixed In Version: vim 9.0.0060
Doc Type: If docs needed, set a value
Doc Text:
A heap buffer overflow vulnerability was found in vim's ins_compl_infercase_gettext() function of the src/insexpand.c file. This flaw occurs when vim tries to access uninitialized memory when completing a long line. This flaw allows an attacker to trick a user into opening a specially crafted file, triggering a heap-based buffer overflow 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-07-29 09:41:57 UTC
Created vim tracking bugs for this issue:

Affects: fedora-all [bug 2112300]


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