Vim is an open source, command line text editor. A use-after-free was found in Vim < 9.1.0764. When closing a buffer (visible in a window) a BufWinLeave auto command can cause an use-after-free if this auto command happens to re-open the same buffer in a new split window. Impact is low since the user must have intentionally set up such a strange auto command and run some buffer unload commands. However this may lead to a crash. This issue has been addressed in version 9.1.0764 and all users are advised to upgrade. There are no known workarounds for this vulnerability.
History

Tue, 08 Oct 2024 15:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 08 Oct 2024 01:45:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

threat_severity

Low


Mon, 07 Oct 2024 21:30:00 +0000

Type Values Removed Values Added
Description Vim is an open source, command line text editor. A use-after-free was found in Vim < 9.1.0764. When closing a buffer (visible in a window) a BufWinLeave auto command can cause an use-after-free if this auto command happens to re-open the same buffer in a new split window. Impact is low since the user must have intentionally set up such a strange auto command and run some buffer unload commands. However this may lead to a crash. This issue has been addressed in version 9.1.0764 and all users are advised to upgrade. There are no known workarounds for this vulnerability.
Title use-after-free when closing buffers in Vim
Weaknesses CWE-416
References
Metrics cvssV3_1

{'score': 3.9, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:L'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published: 2024-10-07T21:16:01.796Z

Updated: 2024-10-08T14:12:51.349Z

Reserved: 2024-10-03T14:06:12.637Z

Link: CVE-2024-47814

cve-icon Vulnrichment

Updated: 2024-10-08T14:12:47.208Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2024-10-07T22:15:03.657

Modified: 2024-10-10T12:57:21.987

Link: CVE-2024-47814

cve-icon Redhat

Severity : Low

Publid Date: 2024-10-07T21:16:01Z

Links: CVE-2024-47814 - Bugzilla