Bug 2102185 (CVE-2022-2207) - CVE-2022-2207 vim: heap-based buffer overflow in function ins_bs
Summary: CVE-2022-2207 vim: heap-based buffer overflow in function ins_bs
Status: NEW
Alias: CVE-2022-2207
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
Depends On: 2102186 2129174 2129175
Blocks: 2102155
TreeView+ depends on / blocked
Reported: 2022-06-29 12:41 UTC by Marian Rehak
Modified: 2022-11-21 05:29 UTC (History)
3 users (show)

Fixed In Version: vim 8.2.5162
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed:

Attachments (Terms of Use)

Description Marian Rehak 2022-06-29 12:41:59 UTC
A heap-based buffer overflow in function ins_bs may lead to corruption of sensitive information, a crash, or code execution.



Comment 1 Marian Rehak 2022-06-29 12:42:12 UTC
Created vim tracking bugs for this issue:

Affects: fedora-all [bug 2102186]

Comment 4 Zack Miele 2022-09-22 18:45:44 UTC
PoC does not trigger on rhel-8 version, but does not check if the cursor column is more than zero when in replace mode. PoC triggers asan abort with rhel-9 version.

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