VDB
CVE-2022-0572
CVE-2022-0572
PUBLISHED
CVSS 8.4 HIGH
Heap-based Buffer Overflow in vim/vim
Reported by @huntrdev · Published February 13, 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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| vim | Alpine | 8.2.4619-r0, 8.2.4542-r0 |
| vim-minimal | Amazon Linux | 2:9.0.1160-1.amzn2023.0.2, 2:8.2.4428-1.amzn2.0.3 |
| vim-filesystem | Amazon Linux | 2:9.0.1160-1.amzn2023.0.2, 2:8.2.4428-1.amzn2.0.3 |
| vim-data | Amazon Linux | 2:9.0.1160-1.amzn2023.0.2, 2:8.2.4428-1.amzn2.0.3 |
| vim-common | Amazon Linux | 2:9.0.1160-1.amzn2023.0.2, 2:8.2.4428-1.amzn2.0.3 |
| vim-default-editor | Amazon Linux | 2:9.0.1160-1.amzn2023.0.2 |
| vim-enhanced | Amazon Linux | 2:9.0.1160-1.amzn2023.0.2, 2:8.2.4428-1.amzn2.0.3 |
| vim-X11 | Amazon Linux | 2:8.2.4428-1.amzn2.0.3 |
| vim/vim | vim | 8.2 |
| macos | apple | 13.0 |
| vim | vim | 8.2.4359 |
Risk scores
CVSS 3.0
8.4
CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Affected products
| Vendor | Product | Versions |
|---|---|---|
| vim | vim/vim | unspecified |
| alpine | vim | 0, 0 |
| amazon:2 | vim-minimal | 0 |
| amazon:2023 | vim-filesystem | 0 |
| vim | vim/vim | * |
| amazon:2023 | vim-minimal | 0 |
| amazon:2 | vim-data | 0 |
| amazon:2 | vim-filesystem | 0 |
| amazon:2 | vim-common | 0 |
| amazon:2023 | vim-default-editor | 0 |
| amazon:2023 | vim-data | 0 |
| amazon:2023 | vim-enhanced | 0 |
| amazon:2023 | vim-common | 0 |
| amazon:2 | vim-enhanced | 0 |
| amazon:2 | vim-X11 | 0 |
Timeline
- Feb 13, 2022 CVE Published
- Feb 14, 2022 EPSS Score (30 in total, the first dated here)
- Nov 3, 2025 CVE Updated
- Jun 1, 2026 Security Advisory (3 in total, the first dated here)
- Jul 12, 2026 Coalition ESS Score
- Nov 22, 2026 Distribution Patch (2 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2022-0572
vulnetix vdb fixes CVE-2022-0572
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-0572/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- FEDORA-2022-9cef12c14c vendor-advisory
- FEDORA-2022-48bf3cb1c4 vendor-advisory
- [debian-lts-announce] 20220516 [SECURITY] [DLA 3011-1] vim security update mailing-list
- 20221030 APPLE-SA-2022-10-27-5 Additional information for APPLE-SA-2022-10-24-2 macOS Ventura 13 mailing-list
- 20221030 APPLE-SA-2022-10-24-2 macOS Ventura 13 mailing-list
- [debian-lts-announce] 20221108 [SECURITY] [DLA 3182-1] vim security update mailing-list
- https://lists.debian.org/debian-lts-announce/2025/03/msg00023.html advisory