VDB

CVE-2021-3778

CVE-2021-3778 PUBLISHED CVSS 7.8 HIGH

Heap-based Buffer Overflow in vim/vim

Reported by @huntrdev · Published September 15, 2021

vim is vulnerable to Heap-based Buffer Overflow

Fixed versions

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

PackageEcosystemFixed in
vimAlpine8.2.3437-r0
vim-X11Amazon Linux2:8.2.3642-1.amzn2.0.1
vim-minimalAmazon Linux2:8.2.3642-1.amzn2.0.1
vim-filesystemAmazon Linux2:8.2.3642-1.amzn2.0.1
vim-commonAmazon Linux2:8.2.3642-1.amzn2.0.1
vimArch Linux8.2.3412-1
vim-enhancedAmazon Linux2:8.2.3642-1.amzn2.0.1
gvimArch Linux8.2.3412-1
vimvim8.2.3409
vim/vimvim8.2.3409

Risk scores

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

Affected products

VendorProductVersions
vimvim/vimunspecified
alpinevim0
amazon:2vim-X110
amazon:2vim-minimal0
amazon:2vim-filesystem0
vimvim/vim*
amazon:2vim-common0
archvim0
amazon:2vim-enhanced0
archgvim0

Timeline

  • Sep 14, 2021 CVE Published
  • Sep 15, 2021 EPSS Score (30 in total, the first dated here)
  • Mar 10, 2026 Security Advisory (8 in total, the first dated here)
  • Jul 26, 2026 Coalition ESS Score
  • Sep 20, 2026 CVE Updated
  • Nov 22, 2026 Distribution Patch (5 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2021-3778
vulnetix vdb fixes CVE-2021-3778

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-2021-3778/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 ›