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.
                
            References
                    | Link | Resource | 
|---|---|
| https://github.com/vim/vim/commit/0a6e57b09bc8c76691b367a5babfb79b31b770e8 | Patch | 
| https://github.com/vim/vim/security/advisories/GHSA-2w8m-443v-cgvw | Vendor Advisory | 
| http://www.openwall.com/lists/oss-security/2024/08/15/6 | Mailing List Third Party Advisory | 
| https://security.netapp.com/advisory/ntap-20240920-0004/ | Third Party Advisory | 
Configurations
                    History
                    25 Aug 2025, 13:51
| Type | Values Removed | Values Added | 
|---|---|---|
| CPE | cpe:2.3:a:vim:vim:*:*:*:*:*:*:*:* cpe:2.3:h:netapp:hci_compute_node:-:*:*:*:*:*:*:* cpe:2.3:o:netapp:bootstrap_os:-:*:*:*:*:*:*:* | |
| First Time | Netapp Netapp bootstrap Os Netapp hci Compute Node Vim vim Vim | |
| References | () https://github.com/vim/vim/commit/0a6e57b09bc8c76691b367a5babfb79b31b770e8 - Patch | |
| References | () https://github.com/vim/vim/security/advisories/GHSA-2w8m-443v-cgvw - Vendor Advisory | |
| References | () http://www.openwall.com/lists/oss-security/2024/08/15/6 - Mailing List, Third Party Advisory | |
| References | () https://security.netapp.com/advisory/ntap-20240920-0004/ - Third Party Advisory | 
21 Nov 2024, 09:35
| Type | Values Removed | Values Added | 
|---|---|---|
| References | 
 | 
19 Aug 2024, 13:00
| Type | Values Removed | Values Added | 
|---|---|---|
| Summary | 
 | 
16 Aug 2024, 02:15
| Type | Values Removed | Values Added | 
|---|---|---|
| New CVE | 
Information
                Published : 2024-08-16 02:15
Updated : 2025-08-25 13:51
NVD link : CVE-2024-43374
Mitre link : CVE-2024-43374
CVE.ORG link : CVE-2024-43374
JSON object : View
Products Affected
                vim
- vim
netapp
- hci_compute_node
- bootstrap_os
CWE
                
                    
                        
                        CWE-416
                        
            Use After Free
