CVE-2023-48237 overflow in shift_line in vim

Low 2.8 Published Updated

An integer overflow in Vim's shift_line function can cause a crash when processing large values in operator pending mode.

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-48237?

CVE-2023-48237 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. In affected versions when shifting lines in operator pending mode and using a very large value, it may be possible to overflow the size of integer. Impact is low, user interaction is required and a crash may not even happen in all situations. This issue has been addressed in commit `6bf131888` which has been included in version 9.0.2112. Users are advised to upgrade. There are no known workarounds for this vulnerability.

Weakness: CWE-190

Which versions are affected by CVE-2023-48237?

It affects 2 products.

Products include Fedoraproject Fedora, Vim Vim.

How do I fix CVE-2023-48237?

Upgrade to a fixed version.

Is CVE-2023-48237 being exploited?

There is no known exploitation of CVE-2023-48237 in the wild and no public exploit code.

All Fedoraproject Fedora vulnerabilities

Sources

Also known as AZL-32011, BELL-CVE-2023-48237, DEBIAN-CVE-2023-48237, ECHO-681d-921d-2de3, GHSA-f2m2-v387-gv87, ROOT-OS-ALPINE-318-CVE-2023-48237 and 1 more.

Is CVE-2023-48237 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free