Integer Overflow Vulnerability in Vim Package: Low Impact Risk

vim Updated 02 Oct 2025

Summary

16/11/2023
N/A
Yes i
Unrated
Not published

DEBIAN-CVE-2023-48237: Vim is an open source command line text editor. Affects vim versions < 2:9.0.2116-1. Fixed in 2:9.0.2116-1. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

Vim is a widely-used open source command line text editor known for its efficiency and versatility in text manipulation. It supports various programming languages and offers features like syntax highlighting, multi-level undo, and extensive customization options. However, certain versions of Vim are vulnerable to an integer overflow issue when shifting lines in operator pending mode with large values, which could potentially lead to unexpected behavior.

Vulnerability Detail

The vulnerability arises from the handling of large integer values during line shifting operations in Vim's operator pending mode. When users attempt to shift lines using excessively large values, it may cause an overflow of the integer size, leading to unpredictable behavior. Although the impact is considered low and requires user interaction, it could result in crashes or other unintended consequences in specific scenarios. This issue has been addressed in commit 6bf131888, included in version 9.0.2112.

How To Fix

Minimum fixed version

2:9.0.2116-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade vim

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There are no known workarounds for this vulnerability. Users are advised to upgrade to the patched version as soon as possible.

Conclusion

In summary, the integer overflow vulnerability in Vim poses a low risk but requires user attention to mitigate. Users should promptly update to the patched version to ensure their systems remain secure. Regular monitoring for vulnerabilities, such as through tools like Vulert, can help maintain software integrity.

See every vulnerability recorded for vim →

Share this vulnerability

FAQ

The vulnerability is an integer overflow issue that occurs when shifting lines in operator pending mode with very large values.

The vulnerability affects Vim versions prior to 2:9.0.2116-1.

Yes, user interaction is required, as the issue arises during specific operations performed by the user.

The consequences may include crashes or unexpected behavior, although the overall impact is considered low.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

Related vulnerabilities

Recent vulnerabilities recorded for vim.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

Minimum fixed version

2:9.0.2116-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade vim

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback