CVE-2023-48232: Floating point Exception in adjust_plines_for_skipcol() in vim
Last updated 24 July 2024
Other sources
Vim is an open source command line text editor. A floating point exception may occur when calculating the line offset for overlong lines and smooth scrolling is enabled and the cpo-settings include the 'n' flag. This may happen when 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. Only users with non-default settings are affected and the exception should only result in a crash. This issue has been addressed in commit cb0b99f0 which has been included in release version 9.0.2107. Users are advised to upgrade. There are no known workarounds for this vulnerability.
— Launchpad
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/vimto a version that resolves this vulnerability.Fixed in 2:9.1.1230-1 - Upgrade
Upgrade
vimto a version that resolves this vulnerability.Fixed in 9.0.2107 - Upgrade
Upgrade
vimto a version that resolves this vulnerability.Patch cb0b99f0
Event History
Frequently Asked Questions
What is CVE-2023-48232?
CVE-2023-48232 is a vulnerability in the Vim text editor that may cause a floating point exception when certain conditions are met.
How does the floating point exception occur in Vim?
The floating point exception occurs when calculating the line offset for overlong lines and smooth scrolling is enabled, and the cpo-settings include the 'n' flag.
Which versions of Vim are affected by CVE-2023-48232?
Vim versions up to and excluding 9.0.2107 are affected by CVE-2023-48232.
How severe is the vulnerability CVE-2023-48232?
The severity of CVE-2023-48232 is medium, with a severity value of 4.3.
How can I fix the vulnerability CVE-2023-48232?
To fix the vulnerability, update Vim to version 9.0.2107 or higher.