PT-2023-4995 · Vim+8 · Vim+8
Published
2023-09-05
·
Updated
2025-03-30
·
CVE-2023-4781
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.1873
Description
The issue is related to a heap-based buffer overflow in the
vim regsub both() function of the Vim text editor, which can be exploited to impact the confidentiality, integrity, and availability of protected information. This is a result of a buffer overflow in dynamic memory.Recommendations
For versions prior to 9.0.1873, update to version 9.0.1873 or later to resolve the issue. As a temporary workaround, consider restricting the use of the
vim regsub both() function until a patch is available.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
Affected Products
Alt Linux
Astra Linux
Debian
Linuxmint
Apple Macos
Red Os
Suse
Ubuntu
Vim