CVE-2017-5953: Integer Overflow

Published Feb 10, 2017
·
Updated

Last updated 25 August 2025

Other sources

vim before patch 8.0.0322 does not properly validate values for tree length when handling a spell file, which may result in an integer overflow at a memory allocation site and a resultant buffer overflow.

— Launchpad

Affected Software

45 affected componentsFixes available
vim Vim<=8.0.0055
alpine/neovim<0.2.0-r0
0.2.0-r0
alpine/neovim<0.2.0-r0
0.2.0-r0
alpine/neovim<0.2.0-r0
0.2.0-r0
alpine/neovim<0.2.0-r0
0.2.0-r0
alpine/neovim<0.2.0-r0
0.2.0-r0
alpine/neovim<0.2.0-r0
0.2.0-r0
alpine/neovim<0.2.0-r0
0.2.0-r0
alpine/neovim<0.2.0-r0
0.2.0-r0
alpine/neovim<0.2.0-r0
0.2.0-r0
alpine/neovim<0.2.0-r0
0.2.0-r0
alpine/neovim<0.2.0-r0
0.2.0-r0
alpine/neovim<0.2.0-r0
0.2.0-r0
alpine/neovim<0.2.0-r0
0.2.0-r0
alpine/neovim<0.2.0-r0
0.2.0-r0
alpine/neovim<0.2.0-r0
0.2.0-r0
alpine/neovim<0.2.0-r0
0.2.0-r0
alpine/neovim<0.2.0-r0
0.2.0-r0
alpine/neovim<0.2.0-r0
0.2.0-r0
alpine/neovim<0.2.0-r0
0.2.0-r0
alpine/vim<8.0.0329-r0
8.0.0329-r0
alpine/vim<8.0.0329-r0
8.0.0329-r0
alpine/vim<8.0.0329-r0
8.0.0329-r0
alpine/vim<8.0.0329-r0
8.0.0329-r0
alpine/vim<8.0.0329-r0
8.0.0329-r0
alpine/vim<8.0.0329-r0
8.0.0329-r0
alpine/vim<8.0.0329-r0
8.0.0329-r0
alpine/vim<8.0.0329-r0
8.0.0329-r0
alpine/vim<8.0.0329-r0
8.0.0329-r0
alpine/vim<8.0.0329-r0
8.0.0329-r0
alpine/vim<7.4.712-r2
7.4.712-r2
alpine/vim<8.0.0329-r0
8.0.0329-r0
alpine/vim<8.0.0329-r0
8.0.0329-r0
alpine/vim<8.0.0329-r0
8.0.0329-r0
alpine/vim<8.0.0329-r0
8.0.0329-r0
alpine/vim<8.0.0329-r0
8.0.0329-r0
alpine/vim<7.4.943-r5
7.4.943-r5
alpine/vim<7.4.1831-r3
7.4.1831-r3
alpine/vim<8.0.0329-r0
8.0.0329-r0
alpine/vim<8.0.0329-r0
8.0.0329-r0
alpine/vim<8.0.0329-r0
8.0.0329-r0
alpine/vim<8.0.0329-r0
8.0.0329-r0
alpine/vim<8.0.0329-r0
8.0.0329-r0
debian/neovim
0.7.2-70.10.4-80.12.4-1
debian/vim
2:9.0.1378-2+deb12u22:9.1.1230-22:9.1.1230-2+deb13u22:9.2.0858-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade alpine/neovim to a version that resolves this vulnerability.

    Fixed in 0.2.0-r0
  2. Upgrade

    Upgrade alpine/vim to a version that resolves this vulnerability.

    Fixed in 8.0.0329-r0
  3. Upgrade

    Upgrade alpine/vim to a version that resolves this vulnerability.

    Fixed in 7.4.712-r2
  4. Upgrade

    Upgrade alpine/vim to a version that resolves this vulnerability.

    Fixed in 7.4.943-r5
  5. Upgrade

    Upgrade alpine/vim to a version that resolves this vulnerability.

    Fixed in 7.4.1831-r3
  6. Upgrade

    Upgrade debian/neovim to a version that resolves this vulnerability.

    Fixed in 0.7.2-7Fixed in 0.10.4-8Fixed in 0.12.4-1
  7. Upgrade

    Upgrade debian/vim to a version that resolves this vulnerability.

    Fixed in 2:9.0.1378-2+deb12u2Fixed in 2:9.1.1230-2Fixed in 2:9.1.1230-2+deb13u2Fixed in 2:9.2.0858-1
  8. Upgrade

    Upgrade vim to a version that resolves this vulnerability.

    Fixed in 8.0.0322

Event History

Feb 10, 2017
CVE Published
via Ubuntu·12:00 AM
Data Sourced
via Ubuntu·12:00 AM
RemedyDescriptionSeverityAffected Software
CVE Published
via MITRE·06:51 AM
Data Sourced
via MITRE·06:51 AM
Description
Data Sourced
via NVD·07:59 AM
RemedyDescriptionSeverityWeaknessAffected Software
Data Sourced
via OSV·07:59 AM
DescriptionSeverityAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is the severity of CVE-2017-5953?

CVE-2017-5953 is classified as a high-severity vulnerability due to its potential for causing buffer overflows.

2

How do I fix CVE-2017-5953?

To fix CVE-2017-5953, upgrade your Vim installation to version 8.0.0322 or later.

3

Which versions are affected by CVE-2017-5953?

CVE-2017-5953 affects Vim versions prior to 8.0.0322 and specific Debian packages of Neovim and Vim.

4

What impact does CVE-2017-5953 have on vulnerable systems?

CVE-2017-5953 can lead to integer overflows and buffer overflows, potentially allowing an attacker to execute arbitrary code.

5

Is CVE-2017-5953 actively exploited?

As of the latest information, there are no confirmed active exploits specifically targeting CVE-2017-5953.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203