CVE-2022-3705
vim autocmd quickfix.c qf_update_buffer use after free
Reported by vuldb · Published October 26, 2022
A vulnerability was found in vim and classified as problematic. Affected by this issue is the function qf_update_buffer of the file quickfix.c of the component autocmd Handler. The manipulation leads to use after free. The attack may be launched remotely. Upgrading to version 9.0.0805 is able to address this issue. The name of the patch is d0fab10ed2a86698937e3c3fed2f10bd9bb5e731. It is recommended to upgrade the affected component. The identifier of this vulnerability is VDB-212324.
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-data | Amazon Linux | 2:9.0.1160-1.amzn2023.0.2, 2:9.0.828-1.amzn2.0.1 |
| vim-enhanced | Amazon Linux | 2:9.0.1160-1.amzn2023.0.2, 2:9.0.828-1.amzn2.0.1 |
| vim-X11 | Amazon Linux | 2:9.0.828-1.amzn2.0.1 |
| vim-filesystem | Amazon Linux | 2:9.0.1160-1.amzn2023.0.2, 2:9.0.828-1.amzn2.0.1 |
| vim-default-editor | Amazon Linux | 2:9.0.1160-1.amzn2023.0.2 |
| vim-common | Amazon Linux | 2:9.0.828-1.amzn2.0.1 |
| vim | vim | 9.0.0805 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| unspecified | vim | n/a |
| amazon:2023 | vim-data | 0 |
| amazon:2023 | vim-enhanced | 0 |
| amazon:2 | vim-X11 | 0 |
| amazon:2 | vim-filesystem | 0 |
| amazon:2023 | vim-default-editor | 0 |
| amazon:2 | vim-common | 0 |
| amazon:2023 | vim-filesystem | 0 |
| amazon:2 | vim-enhanced | 0 |
| amazon:2 | vim-data | 0 |
| unspecified | vim | * |
| amazon:2 | vim-minimal | 0 |
| amazon:2023 | vim-common | 0 |
| alpine | vim | 0 |
| amazon:2023 | vim-minimal | 0 |
Timeline
- Oct 26, 2022 CVE Published
- Oct 27, 2022 EPSS Score (30 in total, the first dated here)
- Apr 15, 2025 CVE Updated
- Mar 10, 2026 Security Advisory (3 in total, the first dated here)
- Jun 19, 2026 Coalition ESS Score
- Nov 22, 2026 Distribution Patch
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2022-3705
vulnetix vdb fixes CVE-2022-3705
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-3705/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- FEDORA-2022-06e4f1dd58 vendor-advisory
- [debian-lts-announce] 20221108 [SECURITY] [DLA 3182-1] vim security update mailing-list
- FEDORA-2022-3d354ef0fb vendor-advisory
- FEDORA-2022-4bc60c32a2 vendor-advisory
- 20230123 APPLE-SA-2023-01-23-4 macOS Ventura 13.2 mailing-list
- GLSA-202305-16 vendor-advisory