Bug 2044607 (CVE-2022-0261) - CVE-2022-0261 vim: Heap-based buffer overflow in block_insert() in src/ops.c
Summary: CVE-2022-0261 vim: Heap-based buffer overflow in block_insert() in src/ops.c
Alias: CVE-2022-0261
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
Depends On: 2044608 2044636 2045020 2045021 2046116 2046117
Blocks: 2044609
TreeView+ depends on / blocked
Reported: 2022-01-24 19:58 UTC by Pedro Sampaio
Modified: 2022-09-19 20:01 UTC (History)
18 users (show)

Fixed In Version: vim 8.2.4219
Doc Type: If docs needed, set a value
Doc Text:
A heap based out-of-bounds write flaw was found in vim's ops.c. This flaw allows an attacker to trick a user to open a crafted file triggering an out-of-bounds write. This vulnerability is capable of crashing software, modify memory, and possible code execution.
Clone Of:
Last Closed: 2022-03-15 15:47:32 UTC

Attachments (Terms of Use)

System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2022:0894 0 None None None 2022-03-15 10:20:55 UTC

Description Pedro Sampaio 2022-01-24 19:58:55 UTC
Heap-based Buffer Overflow in GitHub repository vim/vim prior to 8.2.



Comment 1 Pedro Sampaio 2022-01-24 19:59:20 UTC
Created vim tracking bugs for this issue:

Affects: fedora-all [bug 2044608]

Comment 2 juneau 2022-01-24 21:07:38 UTC
Marked services affected/defer. Affected code is present, however impact is low and actual occurrence of flaw is unlikely at best.

Comment 3 juneau 2022-01-24 21:11:00 UTC
Correction to above: s/defer/delegated/

Comment 11 errata-xmlrpc 2022-03-15 10:20:52 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2022:0894 https://access.redhat.com/errata/RHSA-2022:0894

Comment 12 Product Security DevOps Team 2022-03-15 15:47:28 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.