VDB

CVE-2023-48237

CVE-2023-48237 PUBLISHED CVSS 2.8 LOW

overflow in shift_line in vim

Reported by github_m · Published November 16, 2023

Vim is an open source command line text editor. In affected versions when shifting lines in operator pending mode and using a very large value, it may be possible to overflow the size of integer. Impact is low, user interaction is required and a crash may not even happen in all situations. This issue has been addressed in commit `6bf131888` which has been included in version 9.0.2112. Users are advised to upgrade. There are no known workarounds for this vulnerability.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
vim-X11Amazon Linux2:9.0.2120-1.amzn2.0.1
xxdAmazon Linux2:9.0.2120-1.amzn2023
vim-enhancedAmazon Linux2:9.0.2120-1.amzn2023, 2:9.0.2120-1.amzn2.0.1
vim-filesystemAmazon Linux2:9.0.2120-1.amzn2.0.1
vim-commonAmazon Linux2:9.0.2120-1.amzn2023, 2:9.0.2120-1.amzn2.0.1
vim-default-editorAmazon Linux2:9.0.2120-1.amzn2023
vim-minimalAmazon Linux2:9.0.2120-1.amzn2023, 2:9.0.2120-1.amzn2.0.1
vim-dataAmazon Linux2:9.0.2120-1.amzn2023, 2:9.0.2120-1.amzn2.0.1
vimvim9.0.2112

Risk scores

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

Affected products

VendorProductVersions
vimvim< 9.0.2112
amazon:2vim-X110
amazon:2023xxd0
amazon:2023vim-enhanced0
amazon:2vim-filesystem0
amazon:2vim-common0
amazon:2023vim-default-editor0
amazon:2vim-minimal0
amazon:2vim-data0
amazon:2023vim-minimal0
amazon:2vim-enhanced0
amazon:2023vim-common0
amazon:2023vim-data0
vimvim0
amazon:2023vim-filesystem0
amazon:2xxd0

Timeline

  • Nov 16, 2023 CVE Published
  • Nov 17, 2023 EPSS Score (30 in total, the first dated here)
  • Jan 28, 2026 Security Advisory (2 in total, the first dated here)
  • Mar 26, 2026 Distribution Patch
  • Jul 31, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2023-48237
vulnetix vdb fixes CVE-2023-48237

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2023-48237/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›