U.S. flag   An official website of the United States government
Dot gov

Official websites use .gov
A .gov website belongs to an official government organization in the United States.

Https

Secure .gov websites use HTTPS
A lock (Dot gov) or https:// means you've safely connected to the .gov website. Share sensitive information only on official, secure websites.

Vulnerability Change Records for CVE-2024-43374

Change History

New CVE Received by NIST 8/15/2024 10:15:17 PM

Action Type Old Value New Value
Added CVSS V3.1

								
							
							
						
GitHub, Inc. AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L
Added CWE

								
							
							
						
GitHub, Inc. CWE-416
Added Description

								
							
							
						
The UNIX editor Vim prior to version 9.1.0678 has a use-after-free error in argument list handling. When adding a new file to the argument list, this triggers `Buf*` autocommands. If in such an autocommand the buffer that was just opened is closed (including the window where it is shown), this causes the window structure to be freed which contains a reference to the argument list that we are actually modifying. Once the autocommands are completed, the references to the window and argument list are no longer valid and as such cause an use-after-free. Impact is low since the user must either intentionally add some unusual autocommands that wipe a buffer during creation (either manually or by sourcing a malicious plugin), but it will crash Vim. The issue has been fixed as of Vim patch v9.1.0678.
Added Reference

								
							
							
						
GitHub, Inc. https://github.com/vim/vim/commit/0a6e57b09bc8c76691b367a5babfb79b31b770e8 [No types assigned]
Added Reference

								
							
							
						
GitHub, Inc. https://github.com/vim/vim/security/advisories/GHSA-2w8m-443v-cgvw [No types assigned]