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


Severity

Recommended
0.0
low
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.69% (50th 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-6069158
  • published17 Nov 2023
  • disclosed16 Nov 2023
  • creditFabian Toepfer

Introduced: 16 Nov 2023

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

How to fix?

Upgrade vim/vim to version 9.0.2111 or higher.

Overview

Affected versions of this package are vulnerable to Integer Overflow or Wraparound via the get_number function. When using the z= command, an attacker can cause the count to overflow with values larger than MAX_INT.

Note:

The attacker needs local access, user interaction is required and a crash may not even happen in all situations.

References

CVSS Base Scores

version 3.1