PT-2022-4737 · Vim+6 · Vim+6

Brammool

·

Published

2022-08-01

·

Updated

2024-06-15

·

CVE-2022-2581

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.0104
Description The issue is related to an out-of-bounds read in the Vim text editor, specifically in the utf ptr2char function, which can lead to reading data beyond the buffer boundaries in memory. This can potentially allow an attacker to execute arbitrary code.
Recommendations For versions prior to 9.0.0104, update to version 9.0.0104 or later to resolve the issue. As a temporary workaround, consider restricting access to the utf ptr2char function until a patch is applied.

Exploit

Fix

Out of bounds Read

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-10446
BDU:2022-05632
CVE-2022-2581
MGASA-2022-0430
OPENSUSE-SU-2022_3229-1
OPENSUSE-SU-2024:12337-1
SUSE-SU-2022:3229-1
SUSE-SU-2022:4619-1
USN-5775-1
USN-5995-1

Affected Products

Alt Linux
Astra Linux
Debian
Linuxmint
Suse
Ubuntu
Vim