Bug 2302418 (CVE-2024-41957) - CVE-2024-41957 vim: Double-free/use-after-free vulnerability with Vim editor
Summary: CVE-2024-41957 vim: Double-free/use-after-free vulnerability with Vim editor
Keywords:
Status: NEW
Alias: CVE-2024-41957
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2302482 2302483
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-08-01 22:21 UTC by OSIDB Bzimport
Modified: 2024-10-14 10:33 UTC (History)
7 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2024-08-01 22:21:35 UTC
Vim is an open source command line text editor. Vim < v9.1.0647 has double free in src/alloc.c:616. When closing a window, the corresponding tagstack data will be cleared and freed. However a bit later, the quickfix list belonging to that window will also be cleared and if that quickfix list points to the same tagstack data, Vim will try to free it again, resulting in a double-free/use-after-free access exception. Impact is low since the user must intentionally execute vim with several non-default flags,
but it may cause a crash of Vim. The issue has been fixed as of Vim patch v9.1.0647


Note You need to log in before you can comment on or make changes to this bug.