CWE
755
Advisory Published
Updated

CVE-2023-48232: Floating point Exception in adjust_plines_for_skipcol() in vim

First published: Thu Nov 16 2023(Updated: )

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.

Credit: security-advisories@github.com security-advisories@github.com

Affected SoftwareAffected VersionHow to fix
Vim Vim<9.0.2107
Fedoraproject Fedora=37
Fedoraproject Fedora=38
Fedoraproject Fedora=39
ubuntu/vim<2:9.0.1000-4ubuntu3.3
2:9.0.1000-4ubuntu3.3
ubuntu/vim<2:9.0.1672-1ubuntu2.2
2:9.0.1672-1ubuntu2.2
debian/vim<=2:8.1.0875-5+deb10u2<=2:8.1.0875-5+deb10u6<=2:8.2.2434-3+deb11u1<=2:9.0.1378-2
2:9.1.0016-1
2:9.1.0377-1

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Parent vulnerabilities

(Appears in the following advisories)

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203