Bug 2035928 (CVE-2021-4166) - CVE-2021-4166 vim: out-of-bounds read in do_arg_all() in src/arglist.c
Summary: CVE-2021-4166 vim: out-of-bounds read in do_arg_all() in src/arglist.c
Keywords:
Status: NEW
Alias: CVE-2021-4166
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: 2035929 2035976 2035977 2037021 2037022
Blocks: 2035932
TreeView+ depends on / blocked
 
Reported: 2021-12-28 16:39 UTC by Guilherme de Almeida Suckevicz
Modified: 2023-07-07 08:34 UTC (History)
18 users (show)

Fixed In Version: vim 8.2.3884
Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in vim. A possible heap-based buffer overflow could allow an attacker to input a specially crafted file leading to a crash or code execution.
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description Guilherme de Almeida Suckevicz 2021-12-28 16:39:25 UTC
Vim is vulnerable to out-of-bounds read.

Reference:
https://huntr.dev/bounties/229df5dd-5507-44e9-832c-c70364bdf035

Upstream patch:
https://github.com/vim/vim/commit/6f98371532fcff911b462d51bc64f2ce8a6ae682

Comment 1 Guilherme de Almeida Suckevicz 2021-12-28 16:39:42 UTC
Created vim tracking bugs for this issue:

Affects: fedora-all [bug 2035929]


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