Integer Overflow or Wraparound Affecting vim package, versions <2:7.4.1689-3ubuntu1.4


Severity

Recommended
low

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.94% (83rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU1604-VIM-314729
  • published27 Feb 2017
  • disclosed27 Feb 2017

Introduced: 27 Feb 2017

CVE-2017-6349  (opens in a new tab)
CWE-190  (opens in a new tab)

How to fix?

Upgrade Ubuntu:16.04 vim to version 2:7.4.1689-3ubuntu1.4 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream vim package and not the vim package as distributed by Ubuntu. See How to fix? for Ubuntu:16.04 relevant fixed versions and status.

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