PT-2022-2734

CVE-2022-1735

·

Published

2022-04-28

·

Updated

2026-10-16

Description by

CVSS 3.1
7.8
High
MetricsAV: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 8.2.4969
Description The issue is related to a classic buffer overflow in the Vim text editor, specifically with the implementation of the utfc ptr2len() function, which involves copying a buffer without checking the size of the input data. This can allow an attacker to execute arbitrary code or cause a denial of service by using a specially crafted file. The vulnerability can be exploited by a remote attacker who tricks the victim into opening a specially crafted file, leading to memory corruption and the execution of arbitrary code on the target system.
Recommendations For versions prior to 8.2.4969, update to version 8.2.4969 or later to resolve the issue. As a temporary workaround, consider restricting the use of the utfc ptr2len() function until a patch is available. Avoid opening specially crafted files with the affected versions of Vim to minimize the risk of exploitation.
Exploitability
Exploit
Fix
Impacts
Researchers
Vendors
Affected products
Related identifiers
ALT-PU-2022-1948
ALT-PU-2022-1958
ALT-PU-2022-1977
ALT-PU-2022-1987
AZL-9787
CLSA-2026-1792153017
OESA-2022-1687
OPENSUSE-SU-2022_2102-1
OPENSUSE-SU-2024:12337-1
SUSE-SU-2022:2102-1
SUSE-SU-2022:4619-1
USN-5498-1
USN-5995-1
Found an issue in the description? Have something to add? Feel free to write us 👾