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

vim Updated 02 Oct 2025

Summary

02/09/2023
N/A
Yes i
High
7.8

ALPINE-CVE-2023-4734: Integer Overflow or Wraparound in GitHub repository vim/vim prior to 9.0.1846. Affects vim versions < 9.0.2073-r0. Fixed in 9.0.2073-r0. 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 Your last release was probably never penetration tested 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 that may compromise its functionality and security. The vulnerability identified as CVE-2023-4734 affects multiple versions of the Vim package in Alpine Linux, highlighting the importance of maintaining up-to-date software to mitigate risks.

Vulnerability Detail

The vulnerability, classified as an Integer Overflow or Wraparound, originates from a flaw in the Vim codebase prior to version 9.0.1846. This issue can lead to unexpected behavior, potentially allowing an attacker to execute arbitrary code or crash the application. The severity of this vulnerability is underscored by its CVSS score of 7.8, indicating a high level of risk to users who have not updated to the patched versions.

How To Fix

Minimum fixed version

9.0.2073-r0

This is the first release that contains the fix.

sudo apk add --upgrade vim

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

Workaround

As a temporary measure, users may consider disabling certain features of Vim that could be exploited until they can apply the necessary updates. However, the best course of action is to update to the patched version as soon as possible.

Conclusion

The CVE-2023-4734 vulnerability in the Vim package poses a significant risk to users of Alpine Linux. It is crucial to update to the patched versions to ensure the security and integrity of your systems. Regular monitoring and updates are essential practices for maintaining software security.

See every vulnerability recorded for vim →

Share this vulnerability

FAQ

CVE-2023-4734 is a vulnerability in the Vim text editor that allows for integer overflow, potentially leading to arbitrary code execution.

You can check if your installation is affected by using tools like Vulert, which monitors open-source vulnerabilities in your software.

Failing to update Vim can expose your system to security risks, including potential code execution by malicious actors.

While the best solution is to update, you may temporarily disable certain features of Vim to reduce exposure until an update can be applied.

Detailed information about CVE-2023-4734 can be found on security databases and the official Vim repository.

Related vulnerabilities

Recent vulnerabilities recorded for vim.

How To Fix

Minimum fixed version

9.0.2073-r0

This is the first release that contains the fix.

sudo apk add --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