4.2

CVE-2024-41965: Vim < v9.1.0648 has a double-free in dialog_changed()

Analyzed
AliasesALPINE-CVE-2024-41965DEBIAN-CVE-2024-41965
Published 01-08-2024Last modified 15-11-2024

Vulnerability summary

CVE-2024-41965 is a medium (CVSS 4.2) Use After Free vulnerability in neovim. EPSS estimates a 0.33% chance of exploitation in the next 30 days, higher than 28.5% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 4.2, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
4.2/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.33%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 3 · Related 4

Timeline

  1. 01-08-2024
    PublishedVulnerability first disclosed.
  2. 15-11-2024
    Last modifiedVulnerability information updated.

Description

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 metrics

4 scores · 4 sources · 1 version

EPSS trend

Probability

0.33%

Chance of exploitation in the next 30 days

Percentile

29%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.33% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, low-privilege account, user interaction (CVSS vector). Other conditions: not stated in public data.

Alpine1 product
  • vim< 9.1.0652-r0
Debian1 product
  • vimAll versions (No fix recorded) | < 2:9.1.0698-1
Neovim1 product
Netapp1 product
Vim1 product

5 vendors · 5 products

References

6 links