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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| vim | Alpine | 8.2.3437-r0 |
| vim-X11 | Amazon Linux | 2:8.2.3642-1.amzn2.0.1 |
| vim-minimal | Amazon Linux | 2:8.2.3642-1.amzn2.0.1 |
| vim-filesystem | Amazon Linux | 2:8.2.3642-1.amzn2.0.1 |
| vim-common | Amazon Linux | 2:8.2.3642-1.amzn2.0.1 |
| vim | Arch Linux | 8.2.3412-1 |
| vim-enhanced | Amazon Linux | 2:8.2.3642-1.amzn2.0.1 |
| gvim | Arch Linux | 8.2.3412-1 |
| vim | vim | 8.2.3409 |
| vim/vim | vim | 8.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
| Vendor | Product | Versions |
|---|---|---|
| vim | vim/vim | unspecified |
| alpine | vim | 0 |
| amazon:2 | vim-X11 | 0 |
| amazon:2 | vim-minimal | 0 |
| amazon:2 | vim-filesystem | 0 |
| vim | vim/vim | * |
| amazon:2 | vim-common | 0 |
| arch | vim | 0 |
| amazon:2 | vim-enhanced | 0 |
| arch | gvim | 0 |
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
References
- [oss-security] 20210930 3 new CVE's in vim mailing-list
- FEDORA-2021-968f57ec98 vendor-advisory
- FEDORA-2021-84f4cf3244 vendor-advisory
- FEDORA-2021-6988830606 vendor-advisory
- [debian-lts-announce] 20220110 [SECURITY] [DLA 2876-1] vim security update mailing-list
- GLSA-202208-32 vendor-advisory