Integer overflow in Vim
CVE-2023-48235
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.
Vulnerability class: Integer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 2.8 (Low). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:L.
EPSS exploit prediction
EPSS: 0.008 (53.3th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 53rd percentile — 53.3% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.008 · newest: 0.008 · change: 0.000
Affected products
- Vim — versions < 9.0.2110
- Fedoraproject Fedora — versions 37, 38, 39
Weakness classification (CWE)
References
- github.com/vim/vim/security/advisories/GHSA-6g74-hr6q-pr8g (Vendor Advisory)
- github.com/vim/vim/commit/060623e4a3bc72b011e7cd92bedb3bfb64e06200 (Patch)
- www.openwall.com/lists/oss-security/2023/11/16/1 (Mailing List)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (Mailing List, Third Party Advisory)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (Mailing List, Third Party Advisory)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (Mailing List, Third Party Advisory)
- security.netapp.com/advisory/ntap-20231227-0007/ (Third Party Advisory)
Frequently asked questions
- What is CVE-2023-48235?
- CVE-2023-48235 is a low-severity vulnerability in Vim, classified under Integer Overflow or Wraparound. CVSS score: 2.8/10. Published 2023-11-16.
- How severe is CVE-2023-48235?
- Low severity. CVSS v3 base score is 2.8 out of 10.