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
| Vector | AV: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
Affected Products
Alt Linux
Astra Linux
Debian
Linuxmint
Suse
Ubuntu
Vim