CVE-2023-2426
vim: out-of-range Pointer offset in mb_charlen() of mbyte.c
Severity
LowRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · April 30, 2023
Updated · September 25, 2026
Description
An out-of-range pointer offset vulnerability was found in Vim's mb_charlen() function of the src/mbyte.c file. This flaw allows an attacker to trick a user into opening a specially crafted file, triggering the vulnerability that causes an application to crash, leading to a denial of service.
Statement
Red Hat Product Security has rated this issue as having a Low security impact, because the "victim" has to run an untrusted file IN SCRIPT MODE. Someone who is running untrusted files in script mode is equivalent to someone just taking a random python script and running it.
For additional information, refer to the Issue Severity Classification: https://access.redhat.com/security/updates/classification/
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 5.5CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
CWE-823 · Use of Out-of-range Pointer Offset