CVEfocus › CVE database › CVE-2017-6349

CVE-2017-6349

CVSS 9.8 CriticalEPSS 2.7% (higher than 86% of CVEs)Published 2017-02-27Updated 2024-08-05Assigner: mitre

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.

What to do

Fixed builds are available from Alpine, Debian, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

43Fixed
1Fix pending
13Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 16.04vimFixed2:7.4.1689-3ubuntu1.4UBUNTU-CVE-2017-6349
Ubuntu 14.04vimFix pending2:7.4.052-1ubuntu3.1+esm1 (Ubuntu Pro)UBUNTU-CVE-2017-6349
Debian 14neovimFixed0.1.7-4DEBIAN-CVE-2017-6349
Debian 14vimFixed2:8.0.0197-3DEBIAN-CVE-2017-6349
Debian 13neovimFixed0.1.7-4DEBIAN-CVE-2017-6349
Debian 13vimFixed2:8.0.0197-3DEBIAN-CVE-2017-6349
Debian 12neovimFixed0.1.7-4DEBIAN-CVE-2017-6349
Debian 12vimFixed2:8.0.0197-3DEBIAN-CVE-2017-6349
Red Hat Enterprise Linux 7vimNot affected
Red Hat Enterprise Linux 7vim-X11Not affected
Red Hat Enterprise Linux 7vim-commonNot affected
Red Hat Enterprise Linux 7vim-enhancedNot affected
Red Hat Enterprise Linux 7vim-filesystemNot affected
Red Hat Enterprise Linux 7vim-minimalNot affected
Red Hat Enterprise Linux 6vimNot affected
Red Hat Enterprise Linux 6vim-X11Not affected
Red Hat Enterprise Linux 6vim-commonNot affected
Red Hat Enterprise Linux 6vim-enhancedNot affected
Red Hat Enterprise Linux 6vim-filesystemNot affected
Red Hat Enterprise Linux 6vim-minimalNot affected
Red Hat Enterprise Linux 5vimNot affected
Alpine Linux 3.24neovimFixed0.2.0-r0ALPINE-CVE-2017-6349
Alpine Linux 3.24vimFixed8.0.1521-r0ALPINE-CVE-2017-6349
Alpine Linux 3.23neovimFixed0.2.0-r0ALPINE-CVE-2017-6349
Alpine Linux 3.23vimFixed8.0.1521-r0ALPINE-CVE-2017-6349
Alpine Linux 3.22neovimFixed0.2.0-r0ALPINE-CVE-2017-6349
Alpine Linux 3.22vimFixed8.0.1521-r0ALPINE-CVE-2017-6349
Alpine Linux 3.21neovimFixed0.2.0-r0ALPINE-CVE-2017-6349
Alpine Linux 3.21vimFixed8.0.1521-r0ALPINE-CVE-2017-6349
Alpine Linux 3.20neovimFixed0.2.0-r0ALPINE-CVE-2017-6349
Alpine Linux 3.20vimFixed8.0.1521-r0ALPINE-CVE-2017-6349
Alpine Linux 3.19neovimFixed0.2.0-r0ALPINE-CVE-2017-6349
Alpine Linux 3.19vimFixed8.0.1521-r0ALPINE-CVE-2017-6349
Alpine Linux 3.18neovimFixed0.2.0-r0ALPINE-CVE-2017-6349
Alpine Linux 3.18vimFixed8.0.1521-r0ALPINE-CVE-2017-6349
Alpine Linux 3.17neovimFixed0.2.0-r0ALPINE-CVE-2017-6349
Alpine Linux 3.17vimFixed8.0.1521-r0ALPINE-CVE-2017-6349
Alpine Linux 3.16neovimFixed0.2.0-r0ALPINE-CVE-2017-6349
Alpine Linux 3.16vimFixed8.0.1521-r0ALPINE-CVE-2017-6349
Alpine Linux 3.15neovimFixed0.2.0-r0ALPINE-CVE-2017-6349
Alpine Linux 3.15vimFixed8.0.1521-r0ALPINE-CVE-2017-6349
Alpine Linux 3.14neovimFixed0.2.0-r0ALPINE-CVE-2017-6349
Alpine Linux 3.14vimFixed8.0.1521-r0ALPINE-CVE-2017-6349
Alpine Linux 3.13neovimFixed0.2.0-r0ALPINE-CVE-2017-6349
Alpine Linux 3.13vimFixed8.0.1521-r0ALPINE-CVE-2017-6349
Alpine Linux 3.12neovimFixed0.2.0-r0ALPINE-CVE-2017-6349
Alpine Linux 3.12vimFixed8.0.1521-r0ALPINE-CVE-2017-6349
Alpine Linux 3.11neovimFixed0.2.0-r0ALPINE-CVE-2017-6349
Alpine Linux 3.11vimFixed8.0.1521-r0ALPINE-CVE-2017-6349
Alpine Linux 3.10neovimFixed0.2.0-r0ALPINE-CVE-2017-6349
Alpine Linux 3.10vimFixed8.0.1521-r0ALPINE-CVE-2017-6349
Alpine Linux 3.9neovimFixed0.2.0-r0ALPINE-CVE-2017-6349
Alpine Linux 3.9vimFixed8.0.1521-r0ALPINE-CVE-2017-6349
Alpine Linux 3.8neovimFixed0.2.0-r0ALPINE-CVE-2017-6349
Alpine Linux 3.8vimFixed8.0.1521-r0ALPINE-CVE-2017-6349
Alpine Linux 3.7neovimFixed0.2.0-r0ALPINE-CVE-2017-6349
Alpine Linux 3.6neovimFixed0.2.0-r0ALPINE-CVE-2017-6349

What the vendor says

As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.