Double Free Affecting vim package, versions *


Severity

Recommended
low

Based on Debian security rating.

Threat Intelligence

EPSS
0.04% (11th 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 Learn

Learn about Double Free vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-DEBIAN11-VIM-7578126
  • published3 Aug 2024
  • disclosed1 Aug 2024

Introduced: 1 Aug 2024

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

How to fix?

There is no fixed version for Debian:11 vim.

NVD Description

Note: Versions mentioned in the description apply only to the upstream vim package and not the vim package as distributed by Debian. See How to fix? for Debian:11 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 Scores

version 3.1