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


Severity

Recommended
low

Based on Ubuntu security rating.

Threat Intelligence

EPSS
1.04% (84th 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-314757
  • published10 Feb 2017
  • disclosed10 Feb 2017

Introduced: 10 Feb 2017

CVE-2017-5953  (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.3 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.

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.