Double Free Affecting vim-data-common package, versions <9.1.1406-150000.5.75.1


Severity

Recommended
0.0
low
0
10

Based on SUSE Linux Enterprise Server security rating.

Threat Intelligence

EPSS
0.29% (21st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-SLES154-VIMDATACOMMON-10628978
  • published5 Jul 2025
  • disclosed4 Jul 2025

Introduced: 4 Jul 2025

CVE-2024-41965  (opens in a new tab)
CWE-415  (opens in a new tab)

How to fix?

Upgrade SLES:15.4 vim-data-common to version 9.1.1406-150000.5.75.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream vim-data-common package and not the vim-data-common package as distributed by SLES. See How to fix? for SLES:15.4 relevant fixed versions and status.

Vim is an open source command line text editor. double-free in dialog_changed() in Vim < v9.1.0648. When abandoning a buffer, Vim may ask the user what to do with the modified buffer. If the user wants the changed buffer to be saved, Vim may create a new Untitled file, if the buffer did not have a name yet. However, when setting the buffer name to Unnamed, Vim will falsely free a pointer twice, leading to a double-free and possibly later to a heap-use-after-free, which can lead to a crash. The issue has been fixed as of Vim patch v9.1.0648.

CVSS Base Scores

version 3.1