VDB
CVE-2022-0318
CVE-2022-0318
PUBLISHED
CVSS 6.6 MEDIUM
Heap-based Buffer Overflow in vim/vim
Reported by @huntrdev · Published January 21, 2022
Heap-based Buffer Overflow in 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 |
|---|---|---|
| gvim | Arch Linux | 8.2.4151-1 |
| vim-default-editor | Amazon Linux | 2:9.0.1160-1.amzn2023.0.2 |
| vim-data | Amazon Linux | 2:9.0.1160-1.amzn2023.0.2, 2:8.2.4314-1.amzn2.0.1 |
| vim-X11 | Amazon Linux | 2:8.2.4314-1.amzn2.0.1 |
| vim-filesystem | Amazon Linux | 2:9.0.1160-1.amzn2023.0.2, 2:8.2.4314-1.amzn2.0.1 |
| vim-common | Amazon Linux | 2:9.0.1160-1.amzn2023.0.2, 2:8.2.4314-1.amzn2.0.1 |
| vim | Arch Linux | 8.2.4151-1 |
| vim-minimal | Amazon Linux | 2:9.0.1160-1.amzn2023.0.2, 2:8.2.4314-1.amzn2.0.1 |
| vim-enhanced | Amazon Linux | 2:9.0.1160-1.amzn2023.0.2, 2:8.2.4314-1.amzn2.0.1 |
| macos | apple | 13.0 |
| vim/vim | vim | 8.2 |
| vim | vim | 8.2.4151 |
Risk scores
CVSS 3.0
6.6
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H
Affected products
| Vendor | Product | Versions |
|---|---|---|
| vim | vim/vim | unspecified |
| arch | gvim | 0 |
| amazon:2023 | vim-default-editor | 0 |
| amazon:2 | vim-data | 0 |
| amazon:2 | vim-X11 | 0 |
| vim | vim/vim | * |
| amazon:2023 | vim-filesystem | 0 |
| amazon:2023 | vim-common | 0 |
| arch | vim | 0 |
| amazon:2023 | vim-minimal | 0 |
| amazon:2 | vim-filesystem | 0 |
| amazon:2023 | vim-enhanced | 0 |
| amazon:2023 | vim-data | 0 |
| amazon:2 | vim-common | 0 |
| amazon:2 | vim-minimal | 0 |
| amazon:2 | vim-enhanced | 0 |
Timeline
- Jan 21, 2022 CVE Published
- Feb 8, 2022 EPSS Score (30 in total, the first dated here)
- Mar 10, 2026 Security Advisory (15 in total, the first dated here)
- Mar 27, 2026 Distribution Patch (10 in total, the first dated here)
- Jul 13, 2026 Coalition ESS Score
- Sep 20, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2022-0318
vulnetix vdb fixes CVE-2022-0318
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-0318/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- GLSA-202208-32 vendor-advisory
- 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
- 20221030 APPLE-SA-2022-10-27-7 Additional information for APPLE-SA-2022-09-12-4 macOS Monterey 12.6 mailing-list
- [debian-lts-announce] 20221124 [SECURITY] [DLA 3204-1] vim security update mailing-list
- https://security.netapp.com/advisory/ntap-20241115-0004/ url