CVE-2017-6349: Integer Overflow

Published Feb 27, 2017
·
Updated

An integer overflow at a ureadundo 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.

Affected Software

3 affected componentsFixes available
vim Vim<=8.0.0376
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.0377

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-6349?

CVE-2017-6349 has a high severity rating due to the potential for buffer overflows resulting from integer overflow vulnerabilities.

2

How do I fix CVE-2017-6349?

To fix CVE-2017-6349, upgrade Vim to version 8.0.0377 or later, or apply the appropriate patches for affected versions.

3

What versions of Vim are affected by CVE-2017-6349?

Versions of Vim before 8.0.0377 are affected by CVE-2017-6349.

4

Is Neovim affected by CVE-2017-6349?

Yes, specific versions of Neovim prior to 0.4.4-1 are affected by CVE-2017-6349.

5

What can happen if CVE-2017-6349 is exploited?

Exploitation of CVE-2017-6349 could lead to arbitrary code execution due to buffer overflows caused by the integer overflow.

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