What’s Vulnerable › Vulnerabilities
CVE-2023-48237: overflow in shift_line in vim
- Severity: medium (CVSS 4.3 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.8% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2023-11-16 · updated 2026-06-23
- Weakness: CWE-190
Description
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.
Affected products
- Fedoraproject Fedora: 37, 38, 39
- vim/vim: before 9.0.2112 — fixed in 9.0.2112
How to fix
Upgrade to a fixed version: vim/vim 9.0.2112. Check the vendor advisory for mitigations.
References
- http://www.openwall.com/lists/oss-security/2023/11/16/1
- https://github.com/vim/vim/commit/6bf131888a3d1de62bbfa8a7ea03c0ddccfd496e
- https://github.com/vim/vim/security/advisories/GHSA-f2m2-v387-gv87
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4UJAK2W5S7G75ETDAEM3BDUCVSXCEGRD/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/M3VQF7CL3V6FGSEW37WNDFBRRILR65AK/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/VNRNYLWXZOGTYWE5HMFNQ5FVE3HBUHF6/
- https://security.netapp.com/advisory/ntap-20231227-0005/
- http://www.openwall.com/lists/oss-security/2023/11/16/1
- https://github.com/vim/vim/commit/6bf131888a3d1de62bbfa8a7ea03c0ddccfd496e
- https://github.com/vim/vim/security/advisories/GHSA-f2m2-v387-gv87
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4UJAK2W5S7G75ETDAEM3BDUCVSXCEGRD/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/M3VQF7CL3V6FGSEW37WNDFBRRILR65AK/
Get alerted when CVE-2023-48237 or the next vulnerability affects your stack