VDB

CVE-2022-0368

CVE-2022-0368 PUBLISHED CVSS 5.5 MEDIUM

Out-of-bounds Read in vim/vim

Reported by @huntrdev · Published January 26, 2022

Out-of-bounds Read in GitHub repository vim/vim prior to 8.2.

Fixed versions

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

PackageEcosystemFixed in
vimAlpine8.2.4619-r0, 8.2.4350-r0
vim-commonAmazon Linux2:9.0.1160-1.amzn2023.0.2
vim-default-editorAmazon Linux2:9.0.1160-1.amzn2023.0.2
vim-filesystemAmazon Linux2:9.0.1160-1.amzn2023.0.2
vim-enhancedAmazon Linux2:9.0.1160-1.amzn2023.0.2
vim-minimalAmazon Linux2:9.0.1160-1.amzn2023.0.2
vim-dataAmazon Linux2:9.0.1160-1.amzn2023.0.2
vimvim8.2.4217
macosapple12.6
vim/vimvim8.2

Risk scores

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

Affected products

VendorProductVersions
vimvim/vimunspecified
alpinevim0, 0
amazon:2023vim-common0
amazon:2023vim-default-editor0
vimvim/vim*
amazon:2023vim-filesystem0
amazon:2023vim-enhanced0
amazon:2023vim-minimal0
amazon:2023vim-data0

Timeline

  • Jan 26, 2022 CVE Published
  • Feb 8, 2022 EPSS Score (30 in total, the first dated here)
  • Aug 2, 2024 CVE Updated
  • Mar 10, 2026 Security Advisory (10 in total, the first dated here)
  • Jul 12, 2026 Coalition ESS Score
  • Nov 22, 2026 Distribution Patch (6 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2022-0368
vulnetix vdb fixes CVE-2022-0368

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-0368/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 ›