Vulnerabilities · 2023 · Vim
CVE-2023-48235
Vim vulnerability
Vim is an open source command line text editor. When parsing relative ex addresses one may unintentionally cause an overflow. Ironically this happens in the existing overflow check, because the line number becomes negative and LONG_MAX - lnum will cause the overflow. Impact is low, user interaction is required and a crash may not even happen in all situations. This issue has been addressed in commit `060623e` which has been included in release version 9.0.2110. Users are advised to upgrade. There are no known workarounds for this vulnerability.
Affected products
Vim, Fedora. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Vim runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/vim/vim/security/advisories/GHSA-6g74-hr6q-pr8g · Vendor Advisory
- github.com/vim/vim/commit/060623e4a3bc72b011e7cd92bedb3bfb64e06200 · Patch
- lists.fedoraproject.org/archives/list/[email protected]/message/4UJ · Third Party Advisory
- lists.fedoraproject.org/archives/list/[email protected]/message/M3V · Third Party Advisory
- lists.fedoraproject.org/archives/list/[email protected]/message/VNR · Third Party Advisory
- security.netapp.com/advisory/ntap-20231227-0007/ · Third Party Advisory
- www.openwall.com/lists/oss-security/2023/11/16/1
- nvd.nist.gov/vuln/detail/CVE-2023-48235
- cve.org/CVERecord?id=CVE-2023-48235
More vulnerabilities in Vim products
CVE-2025-66476CVE-2025-55158CVE-2025-55157CVE-2025-53906CVE-2025-53905CVE-2025-29768CVE-2025-27423CVE-2025-26603All 205
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.