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

3 affected componentsFixes available
vim Vim<=8.0.0055
debian/neovim
0.4.4-10.7.2-70.10.4-80.12.3-40.12.4-1
debian/vim
2:8.2.2434-3+deb11u12:8.2.2434-3+deb11u32:9.0.1378-2+deb12u22:9.1.1230-22:9.2.0524-12:9.2.0782-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

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

    Fixed in 0.4.4-1Fixed in 0.7.2-7Fixed in 0.10.4-8Fixed in 0.12.3-4Fixed in 0.12.4-1
  2. Upgrade

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

    Fixed in 2:8.2.2434-3+deb11u1Fixed in 2:8.2.2434-3+deb11u3Fixed in 2:9.0.1378-2+deb12u2Fixed in 2:9.1.1230-2Fixed in 2:9.2.0524-1Fixed in 2:9.2.0782-1
  3. Upgrade

    Upgrade vim to a version that resolves this vulnerability.

    Fixed in 8.0.0322
  4. Operational

    Update Vim to patch 8.0.0322 because versions before 8.0.0322 may cause an integer overflow during memory allocation when handling a spell file, which can lead to a buffer overflow.

Event History

Feb 10, 2017
CVE Published
via MITRE·06:51 AM
Data Sourced
via MITRE·06:51 AM
Description
Data Sourced
via NVD·07:59 AM
RemedyDescriptionSeverityWeaknessAffected Software
Jan 11, 2024
Data Sourced
via Launchpad·10:38 PM
Description
Feb 19, 2026
Data Sourced
via Ubuntu·08:08 PM
RemedyDescriptionSeverityAffected Software
Jul 13, 2026
Data Sourced
via Debian·01:59 AM
DescriptionAffected Software

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