---
id: CVE-2023-48235
title: Vim is an open source command line text editor
summary: >-
  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 -…
severity: low
cvss: 2.8
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:L'
cwe:
  - CWE-190
vendor: vim
product: vim
affected:
  - vim < 9.0.2110
  - fedora = 37
  - fedora = 38
  - fedora = 39
patched:
  - vim 9.0.2110
published: '2023-11-16'
updated: '2026-06-23'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2023-48235'
references:
  - url: 'http://www.openwall.com/lists/oss-security/2023/11/16/1'
    label: security-advisories@github.com
  - url: 'https://github.com/vim/vim/commit/060623e4a3bc72b011e7cd92bedb3bfb64e06200'
    label: security-advisories@github.com
  - url: 'https://github.com/vim/vim/security/advisories/GHSA-6g74-hr6q-pr8g'
    label: security-advisories@github.com
  - url: >-
      https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4UJAK2W5S7G75ETDAEM3BDUCVSXCEGRD/
    label: security-advisories@github.com
  - url: >-
      https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/M3VQF7CL3V6FGSEW37WNDFBRRILR65AK/
    label: security-advisories@github.com
  - url: >-
      https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/VNRNYLWXZOGTYWE5HMFNQ5FVE3HBUHF6/
    label: security-advisories@github.com
  - url: 'https://security.netapp.com/advisory/ntap-20231227-0007/'
    label: security-advisories@github.com
  - url: 'http://www.openwall.com/lists/oss-security/2023/11/16/1'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://github.com/vim/vim/commit/060623e4a3bc72b011e7cd92bedb3bfb64e06200'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://github.com/vim/vim/security/advisories/GHSA-6g74-hr6q-pr8g'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4UJAK2W5S7G75ETDAEM3BDUCVSXCEGRD/
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/M3VQF7CL3V6FGSEW37WNDFBRRILR65AK/
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/VNRNYLWXZOGTYWE5HMFNQ5FVE3HBUHF6/
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://security.netapp.com/advisory/ntap-20231227-0007/'
    label: af854a3a-2127-422b-91ae-364da2661108
tags:
  - nvd
epss: 0.00755
epssPercentile: 0.53097
ingestedAt: '2026-06-29T13:24:33.932Z'
---

## Overview

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

- `vim < 9.0.2110`
- `fedora = 37`
- `fedora = 38`
- `fedora = 39`

## Remediation

Upgrade past the affected range:

- `vim 9.0.2110`
