---
id: CVE-2023-48232
title: Vim is an open source command line text editor
summary: >-
  Vim is an open source command line text editor. A floating point exception may
  occur when calculating the line offset for overlong lines and smooth scrolling
  is enabled and the cpo-settings include the 'n' flag. This may happen when a
  wi…
severity: low
cvss: 3.9
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:L'
cwe:
  - CWE-755
vendor: vim
product: vim
affected:
  - vim < 9.0.2107
  - fedora = 37
  - fedora = 38
  - fedora = 39
patched:
  - vim 9.0.2107
published: '2023-11-16'
updated: '2026-06-23'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2023-48232'
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/cb0b99f0672d8446585d26e998343dceca17d1ce'
    label: security-advisories@github.com
  - url: 'https://github.com/vim/vim/security/advisories/GHSA-f6cx-x634-hqpw'
    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-0006/'
    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/cb0b99f0672d8446585d26e998343dceca17d1ce'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://github.com/vim/vim/security/advisories/GHSA-f6cx-x634-hqpw'
    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-0006/'
    label: af854a3a-2127-422b-91ae-364da2661108
tags:
  - nvd
epss: 0.00674
epssPercentile: 0.50327
ingestedAt: '2026-06-29T13:24:33.927Z'
---

## Overview

Vim is an open source command line text editor. A floating point exception may occur when calculating the line offset for overlong lines and smooth scrolling is enabled and the cpo-settings include the 'n' flag. This may happen when a window border is present and when the wrapped line continues on the next physical line directly in the window border because the 'cpo' setting includes the 'n' flag. Only users with non-default settings are affected and the exception should only result in a crash. This issue has been addressed in commit `cb0b99f0` which has been included in release version 9.0.2107. Users are advised to upgrade. There are no known workarounds for this vulnerability.

## Affected

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

## Remediation

Upgrade past the affected range:

- `vim 9.0.2107`
