Integer Overflow or Wraparound Affecting vim/vim package, versions [,9.0.2108)


Severity

Recommended
0.0
low
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.76% (53rd 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 Learn

Learn about Integer Overflow or Wraparound vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-VIMVIM-6068915
  • published17 Nov 2023
  • disclosed16 Nov 2023
  • creditFabian Toepfer

Introduced: 16 Nov 2023

CVE-2023-48233  (opens in a new tab)
CWE-190  (opens in a new tab)

How to fix?

Upgrade vim/vim to version 9.0.2108 or higher.

Overview

Affected versions of this package are vulnerable to Integer Overflow or Wraparound. When the :s command is used with a count larger than what fits into a signed long variable, it may cause the system to abort due to the value being too large.

Note:

This is only exploitable if user interaction is involved and a crash may not occur in all situations.

References

CVSS Base Scores

version 3.1