Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2024-41965

4.2 · MEDIUM
Published Aug 1, 2024 vim CWE-416 EPSS 0.31% (23th pctl)

Overview

CVE-2024-41965 is a medium-severity vulnerability affecting vim vim. It was published on August 1, 2024 and has a CVSS 3.1 base score of 4.2 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 4.2, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical 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.

Remediation

Check the references section for vendor advisories and patches from vim. Update vim to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
vim vim >= 0, < 9.1.0648 Affected

Frequently Asked Questions

What is CVE-2024-41965?

CVE-2024-41965 is a medium-severity vulnerability affecting vim vim. It was published on August 1, 2024 and has a CVSS 3.1 base score of 4.2 (MEDIUM).

How severe is CVE-2024-41965?

This vulnerability has a CVSS 3.1 base score of 4.2, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2024-41965?

Check the references section for vendor advisories and patches from vim. Update vim to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2024-41965?

CyberStrike's AI-powered security agents can automatically detect CVE-2024-41965 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.