CVE-2017-6350: Integer Overflow

Published Feb 27, 2017
·
Updated

An integer overflow at an unserializeuep 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.

Affected Software

3 affected componentsFixes available
vim Vim<=8.0.0377
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.0378
  4. Compensating control

    Ensure undo files are obtained from trusted sources; avoid opening corrupted/unknown undo files to prevent triggering the integer overflow in the unserialize_uep memory allocation path.

Event History

Feb 27, 2017
CVE Published
via MITRE·07:25 AM
Data Sourced
via MITRE·07:25 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-6350?

CVE-2017-6350 has a medium severity rating due to its potential to cause buffer overflows.

2

How do I fix CVE-2017-6350?

To fix CVE-2017-6350, update Vim to version 8.0.0378 or later.

3

Which versions of Vim are affected by CVE-2017-6350?

CVE-2017-6350 affects Vim versions prior to 8.0.0378.

4

What type of vulnerability is CVE-2017-6350?

CVE-2017-6350 is categorized as an integer overflow vulnerability.

5

In which scenarios can CVE-2017-6350 be exploited?

CVE-2017-6350 can be exploited when Vim processes a corrupted undo file.

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