Vulnerability in vim - Integer Overflow in Undo File Parsing

vim Updated 02 Oct 2025

Summary

08/03/2017
N/A
Yes i
Unrated
Not published

DLA-850-1: vim - security update. Affects vim versions < 2:7.3.547-7+deb7u3. Fixed in 2:7.3.547-7+deb7u3. 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 Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

Vim is a highly configurable text editor built to enable efficient text editing. It is widely used by developers and system administrators for various tasks. The vulnerability in question affects versions of vim prior to patch 8.0.0377 (CVE-2017-6349) and patch 8.0.0378 (CVE-2017-6350) on Debian 7 Wheezy.

Vulnerability Detail

The vulnerability arises from an integer overflow during the parsing of undo files in vim. If the tree length values are not properly validated when reading a corrupted undo file, an integer overflow can occur, leading to potential buffer overflows. This vulnerability can be exploited by an attacker to execute arbitrary code or cause a denial of service.

How To Fix

Minimum fixed version

2:7.3.547-7+deb7u3

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 is no specific workaround mentioned for this vulnerability.

Conclusion

The vulnerability in vim, caused by an integer overflow in undo file parsing, can have serious security implications. It is crucial to update the vim package to the recommended version or later to mitigate the risk. For further assistance or support in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for vim →

Share this vulnerability

FAQ

Vim is a popular text editor known for its extensive customization options and powerful editing capabilities.

Versions of vim prior to patch 8.0.0377 (CVE-2017-6349) and patch 8.0.0378 (CVE-2017-6350) on Debian 7 Wheezy are affected.

The vulnerability can lead to buffer overflows, which can be exploited by attackers to execute arbitrary code or cause a denial of service.

To fix this vulnerability, upgrade the vim package to version 2:7.3.547-7+deb7u3 or later.

No specific workaround has been mentioned for this vulnerability.

Related vulnerabilities

Recent vulnerabilities recorded for vim.

How To Fix

Minimum fixed version

2:7.3.547-7+deb7u3

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