CVE-2023-48235 json
overflow in ex address parsing in vim
published 2023-11-16 2 y ago modified 2026-06-23 4 mo ago also EUVD-2023-52307
- cvss
- 2.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.8%
- EPSS 0.8% chance of exploitation in 30 days, percentile 55%
- public exploits
- 0
- none known
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 - 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.
Patch / fix
- vim vim 9.0.2110
- vim Debian 14, Debian 13 2:9.0.2116-1
debian advisories DEBIAN-CVE-2023-48235
- vim Ubuntu 20.04 LTS 2:8.1.2269-1ubuntu5.21
- vim Ubuntu 22.04 LTS 2:8.2.3995-1ubuntu2.15
- vim Ubuntu Pro 14.04 LTS 2:7.4.052-1ubuntu3.1+esm15
- vim Ubuntu Pro 16.04 LTS 2:7.4.1689-3ubuntu1.5+esm22
- vim Ubuntu Pro 18.04 LTS 2:8.0.1453-1ubuntu1.13+esm7
ubuntu advisories UBUNTU-CVE-2023-48235
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- vim SLE Module for Desktop Applications 15 SP5, SLE Module for Basesystem 15 SP5, SLE Micro 5.5 +1 more 9.1.0111-150500.20.9.1
- vim SLES for SAP 15 SP4, SLES for SAP 15 SP3, SLES for SAP 15 SP2 +16 more 9.1.0111-150000.5.60.1
- vim SLES for SAP 12 SP5, SLES 12 SP5 9.1.0111-17.29.1
suse advisories SUSE-SU-2024:1287-1SUSE-SU-2024:0871-1SUSE-SU-2024:0783-1
- github.com/vim/vim@060623e commit
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2023-48235 updated cvss 4.3
vim: overflow in ex address parsing
-
Red Hat Enterprise Linux 6 vim, vim-X11, vim-common, vim-minimal, vim-enhanced, vim-filesystem Red Hat Enterprise Linux 7 vim, vim-X11, vim-common, vim-minimal, vim-enhanced, vim-filesystemaffected: workaround, no fix planned “Out of support scope”
-
Red Hat Enterprise Linux 8 vim, vim-X11, vim-common, vim-minimal, vim-enhanced, vim-filesystem Red Hat Enterprise Linux 9 vim, vim-X11, vim-common, vim-minimal, vim-enhanced, vim-filesystemaffected: workaround, no fix available “Fix deferred”
-
Red Hat OpenShift AI (RHOAI) rhoai/odh-dashboard-rhel9under investigation
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 17 mo ago
Exploit prediction
0.76% chance of exploitation in the next 30 days, higher than 55% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 2.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:L |
| NVD | 3.1 | 4.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L |
Affected products
- vim vim
Classification
- Weakness
-
- CWE-190 Integer Overflow or Wraparound
References
-
github.com
/vim/vim/commit/060623e4a3bc72b011e7cd92bedb3bfb64e06200
patch
-
github.com
/vim/vim/security/advisories/GHSA-6g74-hr6q-pr8g
vendor-advisory
-
openwall.com
/lists/oss-security/2023/11/16/1
mailing-list
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/M3VQF7CL3V6FGSEW37WNDFBRRILR65AK/
mailing-list, third-party-advisory
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/VNRNYLWXZOGTYWE5HMFNQ5FVE3HBUHF6/
mailing-list, third-party-advisory
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/4UJAK2W5S7G75ETDAEM3BDUCVSXCEGRD/
mailing-list, third-party-advisory
-
security.netapp.com
/advisory/ntap-20231227-0007/
third-party-advisory
Sources
- CVE List CVE-2023-48235
- NVD CVE-2023-48235
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.