First published: Thu Nov 16 2023(Updated: )
Vim is an open source command line text editor. When parsing relative ex addresses one may unintentionally cause an overflow. Ironically this happens in the existing overflow check, because the line number becomes negative and LONG_MAX - lnum will cause the overflow. Impact is low, user interaction is required and a crash may not even happen in all situations. This issue has been addressed in commit `060623e` which has been included in release version 9.0.2110. Users are advised to upgrade. There are no known workarounds for this vulnerability.
|Affected Software||Affected Version||How to fix|
CVE-2023-48235 is a vulnerability in Vim that occurs when parsing relative ex addresses, leading to an overflow.
The impact of CVE-2023-48235 is low, with limited user interaction required.
Vim versions up to and excluding 9.0.2110 and Fedora 39 are affected by CVE-2023-48235.
To fix CVE-2023-48235, update Vim to version 9.0.2110 or higher.
More information about CVE-2023-48235 can be found in the references provided: https://github.com/vim/vim/security/advisories/GHSA-6g74-hr6q-pr8g, https://github.com/vim/vim/commit/060623e4a3bc72b011e7cd92bedb3bfb64e06200, http://www.openwall.com/lists/oss-security/2023/11/16/1