Every CVE Search/ Get API key

CVE-2017-6350

An integer overflow at an unserialize_uep memory allocation site would occur for vim before patch...

9.8 CriticalFix available

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

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
High

Exploit likelihood

3.23%Up 1.6 points since Apr 14, 2021
90%50%10%1%

What each source reports

NVD Score used 9.8

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

Record
CVE-2017-6350
CVSS 3.0
9.8 CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0
7.5 HighAV:N/AC:L/Au:N/C:P/I:P/A:P
Weakness
CWE-190
Updated
2026-11-02
CVE List No score

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

Record
CVE-2017-6350
Updated
2026-11-02
EUVDEUVD-2017-15411 No score

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

Record
EUVD-2017-15411
Updated
2026-11-03
GitHub AdvisoriesGHSA-h6c7-9rqq-5r2p 9.8

An integer overflow at an unserialize_uep memory allocation site would occur for vim before patch...

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

Record
GHSA-h6c7-9rqq-5r2p
CVSS 3.0
9.8 CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-190
Updated
2026-11-02
OSVALPINE-CVE-2017-6350 9.8

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

Record
ALPINE-CVE-2017-6350
CVSS 3.0
9.8 CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVBELL-CVE-2017-6350 9.8

CVE-2017-6350 does not affect BellSoft software

Record
BELL-CVE-2017-6350
CVSS 3.0
9.8 CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
Show 9 moreShow less
OSV 9.8

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

Record
CVE-2017-6350
CVSS 3.0
9.8 CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVDEBIAN-CVE-2017-6350 9.8

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

Record
DEBIAN-CVE-2017-6350
CVSS 3.0
9.8 CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVUBUNTU-CVE-2017-6350 9.8

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

Record
UBUNTU-CVE-2017-6350
CVSS 3.0
9.8 CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVMGASA-2017-0275 No score

Updated vim packages fix security vulnerabilities

Florian Larysch and Bram Moolenaar discovered that vim, an enhanced vi editor, does not properly validate values for the "filetype", "syntax" and "keymap" options, which may result in the execution of arbitrary code if a file with a specially crafted modeline is opened (CVE-2016-1248).

A vulnerability has been discovered in Vim where a malformed spell file could cause an integer overflow which is used as the size for memory allocation, resulting in a subsequent buffer overflow (CVE-2017-5953).

An integer overflow flaw was found in the way vim handled undo files. This bug could result in vim crashing when trying to process corrupted undo files (CVE-2017-6349).

An integer overflow flaw was found in the way vim handled tree length values when reading an undo file. This bug could result in vim crashing when trying to process corrupted undo files (CVE-2017-6350).

Record
MGASA-2017-0275
Updated
2026-11-02
OSVopenSUSE-SU-2024:11081-1 No score

neovim-0.5.1-1.1 on GA media

These are all security issues fixed in the neovim-0.5.1-1.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:11081-1
Updated
2026-11-02
OSVopenSUSE-SU-2024:11497-1 No score

gvim-8.2.3408-1.2 on GA media

These are all security issues fixed in the gvim-8.2.3408-1.2 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:11497-1
Updated
2026-11-02
OSVSUSE-SU-2017:1712-1 No score

Security update for vim

This update for vim fixes the following issues:

Security issues fixed:

  • CVE-2017-5953: Fixed a possible overflow with corrupted spell file (bsc#1024724)
  • CVE-2017-6350: Fixed a possible overflow when reading a corrupted undo file (bsc#1027053)
  • CVE-2017-6349: Fixed a possible overflow when reading a corrupted undo file (bsc#1027057)

Non security issues fixed:

  • Speed up YAML syntax highlighting (bsc#1018870)
Record
SUSE-SU-2017:1712-1
Updated
2026-11-02
OSVSUSE-SU-2022:4619-1 No score

Security update for vim

This update for vim fixes the following issues:

Updated to version 9.0.0814:

  • Fixing bsc#1192478 VUL-1: CVE-2021-3928: vim: vim is vulnerable to Stack-based Buffer Overflow
  • Fixing bsc#1203508 VUL-0: CVE-2022-3234: vim: Heap-based Buffer Overflow prior to 9.0.0483.
  • Fixing bsc#1203509 VUL-1: CVE-2022-3235: vim: Use After Free in GitHub prior to 9.0.0490.
  • Fixing bsc#1203820 VUL-0: CVE-2022-3324: vim: Stack-based Buffer Overflow in prior to 9.0.0598.
  • Fixing bsc#1204779 VUL-0: CVE-2022-3705: vim: use after free in function qf_update_buffer of the file quickfix.c
  • Fixing bsc#1203152 VUL-1: CVE-2022-2982: vim: use after free in qf_fill_buffer()
  • Fixing bsc#1203796 VUL-1: CVE-2022-3296: vim: stack out of bounds read in ex_finally() in ex_eval.c
  • Fixing bsc#1203797 VUL-1: CVE-2022-3297: vim: use-after-free in process_next_cpt_value() at insexpand.c
  • Fixing bsc#1203110 VUL-1: CVE-2022-3099: vim: Use After Free in ex_docmd.c
  • Fixing bsc#1203194 VUL-1: CVE-2022-3134: vim: use after free in do_tag()
  • Fixing bsc#1203272 VUL-1: CVE-2022-3153: vim: NULL Pointer Dereference in GitHub repository vim/vim prior to 9.0.0404.
  • Fixing bsc#1203799 VUL-1: CVE-2022-3278: vim: NULL pointer dereference in eval_next_non_blank() in eval.c
  • Fixing bsc#1203924 VUL-1: CVE-2022-3352: vim: vim: use after free
  • Fixing bsc#1203155 VUL-1: CVE-2022-2980: vim: null pointer dereference in do_mouse()
  • Fixing bsc#1202962 VUL-1: CVE-2022-3037: vim: Use After Free in vim prior to 9.0.0321
  • Fixing bsc#1200884 Vim: Error on startup
  • Fixing bsc#1200902 VUL-0: CVE-2022-2183: vim: Out-of-bounds Read through get_lisp_indent() Mon 13:32
  • Fixing bsc#1200903 VUL-0: CVE-2022-2182: vim: Heap-based Buffer Overflow through parse_cmd_address() Tue 08:37
  • Fixing bsc#1200904 VUL-0: CVE-2022-2175: vim: Buffer Over-read through cmdline_insert_reg() Tue 08:37
  • Fixing bsc#1201249 VUL-0: CVE-2022-2304: vim: stack buffer overflow in spell_dump_compl()
  • Fixing bsc#1201356 VUL-1: CVE-2022-2343: vim: Heap-based Buffer Overflow in GitHub repository vim prior to 9.0.0044
  • Fixing bsc#1201359 VUL-1: CVE-2022-2344: vim: Another Heap-based Buffer Overflow vim prior to 9.0.0045
  • Fixing bsc#1201363 VUL-1: CVE-2022-2345: vim: Use After Free in GitHub repository vim prior to 9.0.0046.
  • Fixing bsc#1201620 vim: SLE-15-SP4-Full-x86_64-GM-Media1 and vim-plugin-tlib-1.27-bp154.2.18.noarch issue
  • Fixing bsc#1202414 VUL-1: CVE-2022-2819: vim: Heap-based Buffer Overflow in compile_lock_unlock()
  • Fixing bsc#1202552 VUL-1: CVE-2022-2874: vim: NULL Pointer Dereference in generate_loadvar()
  • Fixing bsc#1200270 VUL-1: CVE-2022-1968: vim: use after free in utf_ptr2char
  • Fixing bsc#1200697 VUL-1: CVE-2022-2124: vim: out of bounds read in current_quote()
  • Fixing bsc#1200698 VUL-1: CVE-2022-2125: vim: out of bounds read in get_lisp_indent()
  • Fixing bsc#1200700 VUL-1: CVE-2022-2126: vim: out of bounds read in suggest_trie_walk()
  • Fixing bsc#1200701 VUL-1: CVE-2022-2129: vim: out of bounds write in vim_regsub_both()
  • Fixing bsc#1200732 VUL-1: CVE-2022-1720: vim: out of bounds read in grab_file_name()
  • Fixing bsc#1201132 VUL-1: CVE-2022-2264: vim: out of bounds read in inc()
  • Fixing bsc#1201133 VUL-1: CVE-2022-2284: vim: out of bounds read in utfc_ptr2len()
  • Fixing bsc#1201134 VUL-1: CVE-2022-2285: vim: negative size passed to memmove() due to integer overflow
  • Fixing bsc#1201135 VUL-1: CVE-2022-2286: vim: out of bounds read in ins_bytes()
  • Fixing bsc#1201136 VUL-1: CVE-2022-2287: vim: out of bounds read in suggest_trie_walk()
  • Fixing bsc#1201150 VUL-1: CVE-2022-2231: vim: null pointer dereference skipwhite()
  • Fixing bsc#1201151 VUL-1: CVE-2022-2210: vim: out of bounds read in ml_append_int()
  • Fixing bsc#1201152 VUL-1: CVE-2022-2208: vim: null pointer dereference in diff_check()
  • Fixing bsc#1201153 VUL-1: CVE-2022-2207: vim: out of bounds read in ins_bs()
  • Fixing bsc#1201154 VUL-1:…
Record
SUSE-SU-2022:4619-1
Updated
2026-11-02
OSVUSN-4309-1 No score

vim vulnerabilities

It was discovered that Vim incorrectly handled certain sources. An attacker could possibly use this issue to cause a denial of service. This issue only affected Ubuntu 12.04 ESM, Ubuntu 14.04 ESM and Ubuntu 16.04 LTS (CVE-2017-11109)

It was discovered that Vim incorrectly handled certain files. An attacker could possibly use this issue to execute arbitrary code. This issue only affected Ubuntu 12.04 ESM and Ubuntu 14.04 ESM. (CVE-2017-5953)

It was discovered that Vim incorrectly handled certain inputs. An attacker could possibly use this issue to cause a denial of service. This issue only affected Ubuntu 16.06 LTS. (CVE-2018-20786)

It was discovered that Vim incorrectly handled certain inputs. An attacker could possibly use this issue to cause a denial of service or execute arbitrary code. This issue only affected Ubuntu 18.04 LTS and Ubuntu 19.10. (CVE-2019-20079)

It was discovered that Vim incorrectly handled certain files. An attacker could possibly use this issue to execute arbitrary code. This issue only affected Ubuntu 12.04 ESM, Ubuntu 14.04 ESM and Ubuntu 16.04 LTS. (CVE-2017-6349, CVE-2017-6350)

Record
USN-4309-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
vim
Alpine:v3.10
before 8.0.1521-r0
8.0.1521-r0
vim
Alpine:v3.11
before 8.0.1521-r0
8.0.1521-r0
vim
Alpine:v3.12
before 8.0.1521-r0
8.0.1521-r0
vim
Alpine:v3.13
before 8.0.1521-r0
8.0.1521-r0
vim
Alpine:v3.14
before 8.0.1521-r0
8.0.1521-r0
vim
Alpine:v3.15
before 8.0.1521-r0
8.0.1521-r0
vim
Alpine:v3.16
before 8.0.1521-r0
8.0.1521-r0
vim
Alpine:v3.17
before 8.0.1521-r0
8.0.1521-r0
vim
Alpine:v3.18
before 8.0.1521-r0
8.0.1521-r0
vim
Alpine:v3.19
before 8.0.1521-r0
8.0.1521-r0
Show 31 moreShow less
Affected packages
PackageAffectedFixed
vim
Alpine:v3.20
before 8.0.1521-r0
8.0.1521-r0
vim
Alpine:v3.21
before 8.0.1521-r0
8.0.1521-r0
vim
Alpine:v3.22
before 8.0.1521-r0
8.0.1521-r0
vim
Alpine:v3.23
before 8.0.1521-r0
8.0.1521-r0
vim
Alpine:v3.8
before 8.0.1521-r0
8.0.1521-r0
vim
Alpine:v3.9
before 8.0.1521-r0
8.0.1521-r0
neovim
Debian:12
before 0.1.7-4
0.1.7-4
neovim
Debian:13
before 0.1.7-4
0.1.7-4
neovim
Debian:14
before 0.1.7-4
0.1.7-4
vim
Debian:12
before 2:8.0.0197-3
2:8.0.0197-3
vim
Debian:13
before 2:8.0.0197-3
2:8.0.0197-3
vim
Debian:14
before 2:8.0.0197-3
2:8.0.0197-3
vim
Debian:7
before 2:7.3.547-7+deb7u3, plus listed versions
2:7.3.547-72:7.3.547-7+deb7u12:7.3.547-7+deb7u2
2:7.3.547-7+deb7u3
vim
Mageia:5
before 7.4.430-7.1.mga5
7.4.430-7.1.mga5
vim
SUSE:Linux Enterprise Desktop 12 SP2
before 7.4.326-16.1
7.4.326-16.1
vim
SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2
before 7.4.326-16.1
7.4.326-16.1
vim
SUSE:Linux Enterprise Server 12 SP2
before 7.4.326-16.1
7.4.326-16.1
vim
SUSE:Linux Enterprise Server for SAP Applications 12 SP2
before 7.4.326-16.1
7.4.326-16.1
vim
SUSE:OpenStack Cloud 9
before 9.0.0814-17.9.1
9.0.0814-17.9.1
vim
SUSE:OpenStack Cloud Crowbar 9
before 9.0.0814-17.9.1
9.0.0814-17.9.1
vim
SUSE:Linux Enterprise Server for SAP Applications 12 SP4
before 9.0.0814-17.9.1
9.0.0814-17.9.1
vim
SUSE:Linux Enterprise Server 12 SP2-BCL
before 9.0.0814-17.9.1
9.0.0814-17.9.1
vim
SUSE:Linux Enterprise Server 12 SP3-BCL
before 9.0.0814-17.9.1
9.0.0814-17.9.1
vim
SUSE:Linux Enterprise Server 12 SP4-LTSS
before 9.0.0814-17.9.1
9.0.0814-17.9.1
vim
SUSE:Linux Enterprise Server 12 SP5
before 9.0.0814-17.9.1
9.0.0814-17.9.1
vim
SUSE:Linux Enterprise Server for SAP Applications 12 SP5
before 9.0.0814-17.9.1
9.0.0814-17.9.1
vim
Ubuntu:Pro:14.04:LTS
before 2:7.4.052-1ubuntu3.1+esm1, plus listed versions
2:7.4.000-1ubuntu22:7.4.052-1ubuntu12:7.4.052-1ubuntu22:7.4.052-1ubuntu32:7.4.052-1ubuntu3.1
2:7.4.052-1ubuntu3.1+esm1
vim
Ubuntu:16.04:LTS
before 2:7.4.1689-3ubuntu1.4, plus listed versions
2:7.4.712-2ubuntu42:7.4.826-1ubuntu12:7.4.826-1ubuntu22:7.4.826-1ubuntu32:7.4.963-1ubuntu1
Show 6 moreShow less
2:7.4.963-1ubuntu42:7.4.963-1ubuntu52:7.4.1689-3ubuntu12:7.4.1689-3ubuntu1.12:7.4.1689-3ubuntu1.22:7.4.1689-3ubuntu1.3
2:7.4.1689-3ubuntu1.4
vim
Ubuntu:18.04:LTS
before 2:8.0.1453-1ubuntu1.3, plus listed versions
2:8.0.0197-4ubuntu52:8.0.1144-1ubuntu12:8.0.1401-1ubuntu12:8.0.1401-1ubuntu22:8.0.1401-1ubuntu32:8.0.1453-1ubuntu12:8.0.1453-1ubuntu1.1
2:8.0.1453-1ubuntu1.3
neovim
openSUSE:Tumbleweed
before 0.5.1-1.1
0.5.1-1.1
vim
openSUSE:Tumbleweed
before 8.2.3408-1.2
8.2.3408-1.2

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2017-6350 is a critical vulnerability (CVSS 9.8) in Vim, published February 27, 2017. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 3.23%, the 88th percentile. Fixed in vim 8.0.1521-r0.

References

Show 194 moreShow less
This page doesn't list everything

Left out here: 43 references and the rest of 1 source description. The JSON record has them.

MoveEnter Open