Integer Overflow Vulnerability in Vim Package - CVE-2023-4734

vim Updated 02 Oct 2025

Summary

02/09/2023
N/A
Yes i
Unrated
Not published

DEBIAN-CVE-2023-4734: Integer Overflow or Wraparound in GitHub repository vim/vim prior to 9.0.1846. Affects vim versions < 2:9.0.1894-1. Fixed in 2:9.0.1894-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 Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Vim is a highly configurable text editor built to enable efficient text editing. It is widely used by developers and system administrators for its powerful features and extensibility. However, like any software, it can be susceptible to vulnerabilities. The specific vulnerability identified as CVE-2023-4734 affects versions of Vim prior to 9.0.1846, allowing for potential integer overflow issues.

Vulnerability Detail

The vulnerability arises from an integer overflow or wraparound in the Vim text editor, specifically in versions prior to 9.0.1846. This flaw can lead to unexpected behavior, including crashes or arbitrary code execution, posing a significant risk to users who rely on Vim for critical tasks. Attackers could exploit this vulnerability to manipulate the editor's behavior, potentially leading to data loss or system compromise.

How To Fix

Minimum fixed version

2:9.0.1894-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

Currently, there are no specific workarounds mentioned for this vulnerability. The best course of action is to update to the patched version as soon as it is available.

Conclusion

In summary, CVE-2023-4734 is a critical vulnerability affecting the Vim text editor, which can lead to severe consequences if not addressed. Users are strongly encouraged to update to the latest patched version to ensure their systems remain secure.

See every vulnerability recorded for vim →

Share this vulnerability

FAQ

CVE-2023-4734 is an identifier for a vulnerability in the Vim text editor that involves an integer overflow or wraparound, potentially leading to crashes or arbitrary code execution.

You can check your version of Vim by running 'vim --version' in your terminal. If it is prior to 9.0.1846, it is affected by this vulnerability.

While there are no specific workarounds, it is advisable to limit the use of Vim until you can apply the necessary updates to mitigate the risk.

More information can be found in the official Debian CVE database or by visiting the GitHub repository for Vim.

Vulert monitors and alerts users in real-time for open-source vulnerabilities using just a manifest file like package-lock.json, making it easy to stay informed about potential risks.

Related vulnerabilities

Recent vulnerabilities recorded for vim.

How To Fix

Minimum fixed version

2:9.0.1894-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