CVE & CISA-KEV Catalog

CVE-2023-48235

LOW
2.8
CVSS v3
NVD

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.

How to fix

Remediation Available
vimDebian
Fixed in:2:9.0.2116-1CVE-2023-48235
Fixed in:2:9.0.2116-1CVE-2023-48235
vimUbuntu
Fixed in:2:7.4.052-1ubuntu3.1+esm15USN-6557-1
Fixed in:2:7.4.1689-3ubuntu1.5+esm22USN-6557-1
Fixed in:2:8.0.1453-1ubuntu1.13+esm7USN-6557-1
Fixed in:2:8.1.2269-1ubuntu5.21USN-6557-1
Fixed in:2:8.2.3995-1ubuntu2.15USN-6557-1
Fixed in:2:9.0.1000-4ubuntu3.3USN-6557-1
Fixed in:2:9.0.1672-1ubuntu2.2USN-6557-1
vim-athenaUbuntu
Fixed in:2:7.4.052-1ubuntu3.1+esm15USN-6557-1
Fixed in:2:7.4.1689-3ubuntu1.5+esm22USN-6557-1
Fixed in:2:8.0.1453-1ubuntu1.13+esm7USN-6557-1
Fixed in:2:8.1.2269-1ubuntu5.21USN-6557-1
Fixed in:2:8.2.3995-1ubuntu2.15USN-6557-1
Fixed in:2:9.0.1000-4ubuntu3.3USN-6557-1
Fixed in:2:9.0.1672-1ubuntu2.2USN-6557-1
vim-gtkUbuntu
Fixed in:2:7.4.052-1ubuntu3.1+esm15USN-6557-1
Fixed in:2:7.4.1689-3ubuntu1.5+esm22USN-6557-1
Fixed in:2:8.0.1453-1ubuntu1.13+esm7USN-6557-1
Fixed in:2:8.1.2269-1ubuntu5.21USN-6557-1
Fixed in:2:8.2.3995-1ubuntu2.15USN-6557-1
vim-gtk3Ubuntu
Fixed in:2:7.4.1689-3ubuntu1.5+esm22USN-6557-1
Fixed in:2:8.0.1453-1ubuntu1.13+esm7USN-6557-1
Fixed in:2:8.1.2269-1ubuntu5.21USN-6557-1
Fixed in:2:8.2.3995-1ubuntu2.15USN-6557-1
Fixed in:2:9.0.1000-4ubuntu3.3USN-6557-1
Fixed in:2:9.0.1672-1ubuntu2.2USN-6557-1
vim-noxUbuntu
Fixed in:2:7.4.052-1ubuntu3.1+esm15USN-6557-1
Fixed in:2:7.4.1689-3ubuntu1.5+esm22USN-6557-1
Fixed in:2:8.0.1453-1ubuntu1.13+esm7USN-6557-1
Fixed in:2:8.1.2269-1ubuntu5.21USN-6557-1
Fixed in:2:8.2.3995-1ubuntu2.15USN-6557-1
Fixed in:2:9.0.1000-4ubuntu3.3USN-6557-1
Fixed in:2:9.0.1672-1ubuntu2.2USN-6557-1
vim-tinyUbuntu
Fixed in:2:7.4.052-1ubuntu3.1+esm15USN-6557-1
Fixed in:2:7.4.1689-3ubuntu1.5+esm22USN-6557-1
Fixed in:2:8.0.1453-1ubuntu1.13+esm7USN-6557-1
Fixed in:2:8.1.2269-1ubuntu5.21USN-6557-1
Fixed in:2:8.2.3995-1ubuntu2.15USN-6557-1
Fixed in:2:9.0.1000-4ubuntu3.3USN-6557-1
Fixed in:2:9.0.1672-1ubuntu2.2USN-6557-1
xxdUbuntu
Fixed in:2:8.0.1453-1ubuntu1.13+esm7USN-6557-1
Fixed in:2:8.1.2269-1ubuntu5.21USN-6557-1
Fixed in:2:8.2.3995-1ubuntu2.15USN-6557-1
Fixed in:2:9.0.1000-4ubuntu3.3USN-6557-1
Fixed in:2:9.0.1672-1ubuntu2.2USN-6557-1
VimWindows application
Affected:9.0.2110Fixed in:9.0.2110Bram Moolenaar et al.

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorLocal
Attack ComplexityLow
Privileges RequiredLow
User InteractionRequired
ScopeUnchanged

Impact

ConfidentialityNone
IntegrityNone
AvailabilityLow

CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:L

Exploit Intelligence

0.75%probability of exploitation in 30 days
50thpercentile

Moderate risk: more likely to be exploited than 50% of all known CVEs.

References

Related Vulnerabilities

Other CWE-190 (Integer Overflow) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2020-16040Medium6.5100%-Fix
CVE-2019-11477High7.599%-Fix
CVE-2023-44443High7.894%-Fix
CVE-2014-0569High9.390%--
CVE-2017-3599High7.590%-Fix
CVE-2023-21716Critical9.882%-Fix
Embed a live status badge for CVE-2023-48235
CVE-2023-48235 severity badge

Markdown

[![CVE-2023-48235](https://tridentstack.com/cve/badge/CVE-2023-48235.svg)](https://tridentstack.com/cve/CVE-2023-48235)

HTML

<a href="https://tridentstack.com/cve/CVE-2023-48235"><img src="https://tridentstack.com/cve/badge/CVE-2023-48235.svg" alt="CVE-2023-48235"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-06-23.