PT-2024-7290 · Vim+6 · Vim+6
Gandalf4A
·
Published
2024-10-07
·
Updated
2025-03-30
·
CVE-2024-47814
CVSS v3.1
4.7
Medium
| Vector | AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H |
Name of the Vulnerable Software and Affected Versions:
Vim versions prior to 9.1.0764
Description:
The issue is related to a use-after-free problem in the BufWinLeave function of the Vim text editor. This occurs when a buffer is closed and the BufWinLeave auto command is triggered, potentially causing the same buffer to be reopened in a new split window. The impact is considered low, as it requires a specific setup and intentional actions by the user. However, it may lead to a crash. There are no known instances of this issue being exploited in real-world attacks.
Recommendations:
For versions prior to 9.1.0764, upgrade to version 9.1.0764 or later to resolve the issue.
As a temporary workaround, consider disabling the
BufWinLeave auto command until a patch is available.
Avoid using the BufWinLeave auto command in scenarios where it may cause a buffer to be reopened in a new split window.Exploit
Fix
Use After Free
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Astra Linux
Debian
Linuxmint
Red Os
Suse
Ubuntu
Vim