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-2023-46246

4.0 · MEDIUM
Published Oct 27, 2023 vim CWE-190 EPSS 0.37% (30th pctl)

Overview

CVE-2023-46246 is a medium-severity vulnerability affecting vim vim. It was published on October 27, 2023 and has a CVSS 3.1 base score of 4.0 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 4.0, 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 improved version of the good old UNIX editor Vi. Heap-use-after-free in memory allocated in the function `ga_grow_inner` in in the file `src/alloc.c` at line 748, which is freed in the file `src/ex_docmd.c` in the function `do_cmdline` at line 1010 and then used again in `src/cmdhist.c` at line 759. When using the `:history` command, it's possible that the provided argument overflows the accepted value. Causing an Integer Overflow and potentially later an use-after-free. This vulnerability has been patched in version 9.0.2068.

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

Frequently Asked Questions

What is CVE-2023-46246?

CVE-2023-46246 is a medium-severity vulnerability affecting vim vim. It was published on October 27, 2023 and has a CVSS 3.1 base score of 4.0 (MEDIUM).

How severe is CVE-2023-46246?

This vulnerability has a CVSS 3.1 base score of 4.0, 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-2023-46246?

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-2023-46246?

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