CVE-2023-48237: overflow in shift_line in vim

Published Nov 16, 2023
·
Updated

Last updated 24 July 2024

Other sources

Vim is an open source command line text editor. In affected versions when shifting lines in operator pending mode and using a very large value, it may be possible to overflow the size of integer. Impact is low, user interaction is required and a crash may not even happen in all situations. This issue has been addressed in commit 6bf131888 which has been included in version 9.0.2112. Users are advised to upgrade. There are no known workarounds for this vulnerability.

Launchpad

Affected Software

5 affected componentsFixes available
vim Vim<9.0.2112
Fedoraproject Fedora=37
Fedoraproject Fedora=38
Fedoraproject Fedora=39
debian/vim<=2:8.2.2434-3+deb11u1, <=2:8.2.2434-3+deb11u3, <=2:9.0.1378-2+deb12u2
2:9.1.1230-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/vim to a version that resolves this vulnerability.

    Fixed in 2:9.1.1230-1
  2. Upgrade

    Upgrade vim to a version that resolves this vulnerability.

    Fixed in 9.0.2112Patch 6bf131888

Event History

Nov 16, 2023
CVE Published
via MITRE·10:45 PM
Data Sourced
via MITRE·10:45 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·11:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Jan 12, 2024
Data Sourced
via Launchpad·12:26 AM
Description
Sep 16, 2024
Data Sourced
via Ubuntu·02:17 AM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is CVE-2023-48237?

CVE-2023-48237 is a vulnerability in Vim, an open source command line text editor, that allows integer overflow when shifting lines in operator pending mode.

2

What is the severity of CVE-2023-48237?

The severity of CVE-2023-48237 is medium with a CVSS score of 4.3.

3

How does CVE-2023-48237 impact users?

CVE-2023-48237 has a low impact as user interaction is required and a crash may not happen in all situations.

4

Which software versions are affected by CVE-2023-48237?

Vim versions up to 9.0.2112 and Fedora 39 are affected by CVE-2023-48237.

5

How can I fix CVE-2023-48237?

Updating Vim to a version beyond 9.0.2112 or updating to a Fedora version beyond 39 can fix CVE-2023-48237.

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.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203