CVE-2017-6349 Integer overflow in n/a

Critical 9.8 Published Updated

An integer overflow in Vim's undo file parser can lead to buffer overflows, potentially allowing arbitrary code execution when opening a malicious file.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2017-6349?

CVE-2017-6349 is a critical vulnerability in Vim Vim, published on 27 Feb 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

An integer overflow at a u_read_undo memory allocation site would occur for vim before patch 8.0.0377, if it does not properly validate values for tree length when reading a corrupted undo file, which may lead to resultant buffer overflows.

Weakness: CWE-190

Which versions are affected by CVE-2017-6349?

It affects 1 product.

Products include Vim Vim.

How do I fix CVE-2017-6349?

Apply the vendor's patch.

Is CVE-2017-6349 being exploited?

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

All Vim Vim vulnerabilities

Sources

Also known as ALPINE-CVE-2017-6349, DEBIAN-CVE-2017-6349, GHSA-ppcr-6xhq-q423, UBUNTU-CVE-2017-6349.

Is CVE-2017-6349 in your software?

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

Check your SBOMs for free