Buffer overflow in Vim - CVE-2023-4738

 

Buffer overflow in Vim - CVE-2023-4738

Published: September 6, 2023 / Updated: October 4, 2023


Vulnerability identifier: #VU80504
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2023-4738
CWE-ID: CWE-119
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Vim.org
Affected software:
Vim

Detailed vulnerability description

The vulnerability allows a remote attacker to crash the application.

The vulnerability exists due to a boundary error within the vim_regsub_both() function in src/regexp.c. A remote attacker can create a specially crafted file, trick the victim into opening it, trigger memory corruption and crash the application.


How to mitigate CVE-2023-4738

Install updates from vendor's website.

Sources