Use-after-free in Vim - CVE-2024-41957

 

Use-after-free in Vim - CVE-2024-41957

Published: August 2, 2024


Vulnerability identifier: #VU95159
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2024-41957
CWE-ID: CWE-416
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Vim.org
Affected software:
Vim

Detailed vulnerability description

The vulnerability allows a remote attacker to crash the application.

The vulnerability exists due to a use-after-free error within the tagstack_clear_entry() function. A remote attacker can trick the victim to open a specially crafted file with Vim using several non-default flags, trigger a use-after-free error and crash the editor.


How to mitigate CVE-2024-41957

Install updates from vendor's website.

Sources