Improper Handling of Exceptional Conditions Affecting vim/vim package, versions [,9.0.2107)


Severity

Recommended
0.0
low
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.31% (71st 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-UNMANAGED-VIMVIM-6069021
  • published17 Nov 2023
  • disclosed16 Nov 2023
  • creditFabian Toepfer

Introduced: 16 Nov 2023

CVE-2023-48232  (opens in a new tab)
CWE-755  (opens in a new tab)

How to fix?

Upgrade vim/vim to version 9.0.2107 or higher.

Overview

Affected versions of this package are vulnerable to Improper Handling of Exceptional Conditions via the adjust_plines_for_skipcol() function. When calculating the line offset for overlong lines and smooth scrolling is enabled and the cpo-settings include the 'n' flag, an attacker can cause a crash by exploiting the floating point exception.

Note:

This is only exploitable if a window border is present and when the wrapped line continues on the next physical line directly in the window border because the 'cpo' setting includes the 'n' flag.

References

CVSS Scores

version 3.1