CVE-2017-6349 json
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 val…
published 2017-02-27 9 y ago modified 2026-06-17 4 mo ago also EUVD-2017-15410
- cvss
- 9.8
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.7%
- EPSS 2.7% chance of exploitation in 30 days, percentile 86%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- vim Debian 14, Debian 13, Debian 12 2:8.0.0197-3
- neovim Debian 14, Debian 13, Debian 12 0.1.7-4
debian advisories DEBIAN-CVE-2017-6349
- vim Ubuntu 16.04 LTS 2:7.4.1689-3ubuntu1.4
- vim Ubuntu Pro 14.04 LTS 2:7.4.052-1ubuntu3.1+esm1
ubuntu advisories UBUNTU-CVE-2017-6349
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- vim SLES for SAP 12 SP5, SLES for SAP 12 SP4, SLES 12 SP5 +5 more 9.0.0814-17.9.1
- vim SLES for SAP 12 SP2, SLES for Raspberry Pi 12 SP2, SLES 12 SP2 +1 more 7.4.326-16.1
suse advisories SUSE-SU-2022:4619-1SUSE-SU-2017:1712-1
- neovim openSUSE Tumbleweed 0.5.1-1.1
- vim openSUSE Tumbleweed 8.2.3408-1.2
opensuse advisories openSUSE-SU-2024:11081-1openSUSE-SU-2024:11497-1
- vim Alpine 3.24, Alpine 3.23, Alpine 3.22 +14 more 8.0.1521-r0
- neovim Alpine 3.24, Alpine 3.23, Alpine 3.22 +16 more 0.2.0-r0
alpine advisories ALPINE-CVE-2017-6349
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- github.com/vim/vim@3eb1637 commit
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2017-6349 updated cvss 2.5
vim: Integer overflow at a u_read_undo memory allocation site
-
Red Hat Enterprise Linux 5 vim Red Hat Enterprise Linux 6 vim, vim-X11, vim-common, vim-minimal, vim-enhanced, vim-filesystem Red Hat Enterprise Linux 7 vim, vim-X11, vim-common, vim-minimal, vim-enhanced, vim-filesystemnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
2.72% chance of exploitation in the next 30 days, higher than 86% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Classification
- Weakness
-
- CWE-190 Integer Overflow or Wraparound
References
-
github.com
/vim/vim/commit/3eb1637b1bba19519885dd6d377bd5596e91d22c
patch, third-party-advisory
-
security.gentoo.org
/glsa/201706-26
vendor-advisory
-
usn.ubuntu.com
/4309-1/
vendor-advisory
-
securitytracker.com
/id/1037949
vdb-entry
-
securityfocus.com
/bid/96451
vdb-entry
- groups.google.com /forum/#%21topic/vim_dev/LAgsTcdSfNA
- groups.google.com /forum/#%21topic/vim_dev/QPZc0CY9j3Y
Sources
- CVE List CVE-2017-6349
- NVD CVE-2017-6349
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.