Vulnerability · Published Nov 16, 2023 · Assigned by GitHub_M

CVE-2023-48235overflow in ex address parsing in vim

Low 2.8

In plain English

A low-severity integer overflow in vim from vim. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.8% (higher than 55% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)2.8Low
Exploit odds (30 days)0.8%top 44.7% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12vimno fix listedDEBIAN-CVE-2023-48235
Debian:13vim2:9.0.2116-1DEBIAN-CVE-2023-48235
Debian:14vim2:9.0.2116-1DEBIAN-CVE-2023-48235
Ubuntu:22.04:LTSvim2:8.2.3995-1ubuntu2.15USN-6557-1
Ubuntu:22.04:LTSvim2:8.2.3995-1ubuntu2.15UBUNTU-CVE-2023-48235

Affected products (as reported)

VendorProductVersions
vim vim < 9.0.2110

Weakness: CWE-190 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:L

References