PT-2022-1730 · Vim+11 · Vim+11
Brammool
·
Published
2022-01-25
·
Updated
2025-03-30
·
CVE-2022-0392
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 8.2
Description
The issue is related to a heap-based buffer overflow in the vim text editor, specifically in the getexmodeline() function. This overflow can be exploited to cause a buffer overflow, potentially allowing an attacker to execute arbitrary code. The estimated number of potentially affected devices is not provided.
Recommendations
For versions prior to 8.2, update to version 8.2 or later to resolve the issue.
As a temporary workaround, consider disabling the
getexmodeline() function until a patch is available.Exploit
Fix
Memory Corruption
Heap Based Buffer Overflow
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Alt Linux
Almalinux
Astra Linux
Centos
Debian
Linuxmint
Apple Macos
Red Hat
Rocky Linux
Suse
Ubuntu
Vim