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-41957

4.5 · MEDIUM
Published Aug 1, 2024 vim CWE-415 EPSS 0.36% (29th pctl)

Overview

CVE-2024-41957 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.5 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 4.5, rated MEDIUM. It requires local or adjacent network access to exploit. No authentication or special privileges are required for exploitation.

Technical Description

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

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.0647 Affected

Frequently Asked Questions

What is CVE-2024-41957?

CVE-2024-41957 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.5 (MEDIUM).

How severe is CVE-2024-41957?

This vulnerability has a CVSS 3.1 base score of 4.5, rated MEDIUM. It requires local or adjacent network access to exploit. No authentication or special privileges are required for exploitation.

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

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-41957?

CyberStrike's AI-powered security agents can automatically detect CVE-2024-41957 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.