VDB
CVE-2021-3770
CVE-2021-3770
PUBLISHED
CVSS 8.6 HIGH
Heap-based Buffer Overflow in vim/vim
Reported by @huntrdev · Published September 6, 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 |
|---|---|---|
| gvim | Arch Linux | 8.2.3412-1 |
| vim-common | Amazon Linux | 2:9.0.1160-1.amzn2023.0.2 |
| vim-filesystem | Amazon Linux | 2:9.0.1160-1.amzn2023.0.2 |
| vim-minimal | Amazon Linux | 2:9.0.1160-1.amzn2023.0.2 |
| vim | Alpine | 8.2.3437-r0 |
| vim-default-editor | Amazon Linux | 2:9.0.1160-1.amzn2023.0.2 |
| vim | Arch Linux | 8.2.3412-1 |
| vim-data | Amazon Linux | 2:9.0.1160-1.amzn2023.0.2 |
| vim-enhanced | Amazon Linux | 2:9.0.1160-1.amzn2023.0.2 |
| vim | vim | 8.2.3408 |
| vim/vim | vim | 8.2.3403 |
Risk scores
CVSS 3.0
8.6
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
Affected products
| Vendor | Product | Versions |
|---|---|---|
| vim | vim/vim | unspecified |
| arch | gvim | 0 |
| amazon:2023 | vim-common | 0 |
| amazon:2023 | vim-filesystem | 0 |
| amazon:2023 | vim-minimal | 0 |
| alpine | vim | 0 |
| amazon:2023 | vim-default-editor | 0 |
| arch | vim | 0 |
| amazon:2023 | vim-data | 0 |
| amazon:2023 | vim-enhanced | 0 |
| vim | vim/vim | * |
Timeline
- Sep 6, 2021 CVE Published
- Sep 6, 2021 EPSS Score (30 in total, the first dated here)
- Aug 3, 2024 CVE Updated
- Mar 10, 2026 Security Advisory (2 in total, the first dated here)
- Jul 26, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2021-3770
vulnetix vdb fixes CVE-2021-3770
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-3770/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- FEDORA-2021-5fa81a2b04 vendor-advisory
- FEDORA-2021-4a43cbe0b4 vendor-advisory
- FEDORA-2021-e982f972f2 vendor-advisory
- [oss-security] 20210930 3 new CVE's in vim mailing-list
- GLSA-202208-32 vendor-advisory