VDB

CVE-2022-0407

CVE-2022-0407 PUBLISHED CVSS 5.7 MEDIUM

Heap-based Buffer Overflow in vim/vim

Reported by @huntrdev · Published January 30, 2022

Heap-based Buffer Overflow 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
vim-default-editorAmazon Linux2:9.0.1160-1.amzn2023.0.2
vim-enhancedAmazon Linux2:9.0.1160-1.amzn2023.0.2
vim-filesystemAmazon Linux2:9.0.1160-1.amzn2023.0.2
vim-dataAmazon Linux2:9.0.1160-1.amzn2023.0.2
vim-minimalAmazon Linux2:9.0.1160-1.amzn2023.0.2
vim-commonAmazon Linux2:9.0.1160-1.amzn2023.0.2
vimAlpine8.2.4619-r0, 8.2.4350-r0
vimvim8.2.4219
vim/vimvim8.2

Risk scores

CVSS 3.0
5.7
CVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L

Affected products

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

Timeline

  • Jan 30, 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 (9 in total, the first dated here)
  • Jul 12, 2026 Coalition ESS Score
  • Oct 21, 2026 Distribution Patch (7 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2022-0407
vulnetix vdb fixes CVE-2022-0407

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-0407/fixes/registry"

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

References

  • x_refsource_CONFIRM
  • x_refsource_MISC
  • GLSA-202208-32 vendor-advisoryx_refsource_GENTOO
Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›