Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at
Bug 2054278 (CVE-2022-0572) - CVE-2022-0572 vim: heap overflow in ex_retab() may lead to crash
Summary: CVE-2022-0572 vim: heap overflow in ex_retab() may lead to crash
Status: NEW
Alias: CVE-2022-0572
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Nobody
QA Contact:
Depends On: 2054279 2054600
TreeView+ depends on / blocked
Reported: 2022-02-14 15:12 UTC by Marian Rehak
Modified: 2023-07-07 08:33 UTC (History)
16 users (show)

Fixed In Version: vim 8.2.4359
Doc Type: If docs needed, set a value
Doc Text:
A heap-based buffer overflow flaw was found in vim's ex_retab() function of indent.c file. This flaw occurs when repeatedly using ":retab." This flaw allows an attacker to trick a user into opening a crafted file triggering a heap-overflow.
Clone Of:
Last Closed:

Attachments (Terms of Use)

Comment 1 Marian Rehak 2022-02-14 15:13:27 UTC
Created vim tracking bugs for this issue:

Affects: fedora-all [bug 2054279]

Comment 2 juneau 2022-02-14 16:37:04 UTC
Marking services affected/wontereport/low as this is yet another in a long line of vim issues that are very unlikely to affect services, and remediation for vim is already in play.

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