PT-2022-3883 · Vim+7 · Vim+7

Brammool

·

Published

2022-07-15

·

Updated

2024-06-15

·

CVE-2022-2522

CVSS v3.1

7.8

High

VectorAV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Vim versions prior to 9.0.0061
Description The issue is related to a heap-based buffer overflow in the Vim text editor, specifically in the implementation of the ins compl infercase gettext() function. This overflow occurs when an operation exceeds the boundaries of a memory buffer. Exploitation of this issue could allow an attacker to execute arbitrary code or cause a denial of service.
Recommendations For versions prior to 9.0.0061, update to version 9.0.0061 or later to resolve the issue. As a temporary workaround, consider restricting the use of the ins compl infercase gettext() function until a patch is applied.

Exploit

Fix

Heap Based Buffer Overflow

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

ALT-PU-2022-2600
ALT-PU-2022-2637
ALT-PU-2022-2659
ALT-PU-2022-3192
AZL-10321
BDU:2022-04691
CVE-2022-2522
MGASA-2022-0430
OESA-2022-1810
OPENSUSE-SU-2022_3229-1
OPENSUSE-SU-2024:12213-1
SUSE-SU-2022:3229-1
SUSE-SU-2022:4619-1
USN-6302-1

Affected Products

Alt Linux
Astra Linux
Debian
Linuxmint
Red Os
Suse
Ubuntu
Vim