CVE-2023-48235 overflow in ex address parsing in vim
An integer overflow in Vim's ex address parsing can cause a crash, requiring user interaction to exploit.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2023-48235?
CVE-2023-48235 is a low-severity vulnerability in Fedoraproject Fedora, published on 16 Nov 2023. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official description
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.
Weakness: CWE-190
Which versions are affected by CVE-2023-48235?
It affects 2 products.
Products include Fedoraproject Fedora, Vim Vim.
How do I fix CVE-2023-48235?
Upgrade to a fixed version.
Is CVE-2023-48235 being exploited?
There is no known exploitation of CVE-2023-48235 in the wild and no public exploit code.
Other vulnerabilities in Fedoraproject Fedora
Sources
Also known as AZL-32026, BELL-CVE-2023-48235, DEBIAN-CVE-2023-48235, ECHO-e987-e8d5-2df0, GHSA-6g74-hr6q-pr8g, ROOT-OS-ALPINE-318-CVE-2023-48235 and 1 more.