VDB

CVE-2022-1720

CVE-2022-1720 PUBLISHED CVSS 6.6 MEDIUM

Buffer Over-read in function grab_file_name in vim/vim

Reported by @huntrdev · Published May 16, 2022

Buffer Over-read in function grab_file_name in GitHub repository vim/vim prior to 8.2.4956. This vulnerability is capable of crashing the software, memory modification, and possible remote execution.

Fixed versions

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

PackageEcosystemFixed in
vim-dataAmazon Linux2:9.0.1160-1.amzn2023.0.2, 2:8.2.5172-1.amzn2.0.1
vim-default-editorAmazon Linux2:9.0.1160-1.amzn2023.0.2
vim-X11Amazon Linux2:8.2.5172-1.amzn2.0.1
vim-enhancedAmazon Linux2:9.0.1160-1.amzn2023.0.2, 2:8.2.5172-1.amzn2.0.1
vim-commonAmazon Linux2:9.0.1160-1.amzn2023.0.2, 2:8.2.5172-1.amzn2.0.1
vim-minimalAmazon Linux2:9.0.1160-1.amzn2023.0.2, 2:8.2.5172-1.amzn2.0.1
vim-filesystemAmazon Linux2:9.0.1160-1.amzn2023.0.2, 2:8.2.5172-1.amzn2.0.1
vimvim8.2.4956
vim/vimvim8.2.4956
macosapple12.6, 11.7

Risk scores

CVSS 3.0
6.6
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H

Affected products

VendorProductVersions
vimvim/vimunspecified
amazon:2023vim-data0
amazon:2023vim-default-editor0
amazon:2vim-X110
amazon:2023vim-enhanced0
amazon:2vim-data0
vimvim/vim*
amazon:2023vim-common0
amazon:2vim-minimal0
amazon:2vim-common0
amazon:2vim-enhanced0
amazon:2023vim-filesystem0
amazon:2vim-filesystem0
amazon:2023vim-minimal0

Timeline

  • May 16, 2022 CVE Published
  • May 17, 2022 EPSS Score (30 in total, the first dated here)
  • Aug 3, 2024 CVE Updated
  • Mar 10, 2026 Security Advisory (4 in total, the first dated here)
  • Jul 11, 2026 Coalition ESS Score
  • Nov 22, 2026 Distribution Patch

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2022-1720
vulnetix vdb fixes CVE-2022-1720

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-2022-1720/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 ›