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
EPSS: 0.007 (51.2th percentile) — read the EPSS interpretation.
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.
Affected products
- Vim — versions < 9.0.2110
- Fedoraproject Fedora — versions 37, 38, 39
Weakness classification (CWE)
References
- security-advisories@github.com (x_refsource_CONFIRM, Vendor Advisory)
- security-advisories@github.com (Patch, x_refsource_MISC)
- security-advisories@github.com (Mailing List)
- security-advisories@github.com (Mailing List, Third Party Advisory)
- security-advisories@github.com (Mailing List, Third Party Advisory)
- security-advisories@github.com (Mailing List, Third Party Advisory)
- security-advisories@github.com (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.