# CVE-2022-3705: vim autocmd quickfix.c qf\_update\_buffer use after free

- Priority: **Routine**
- Reason: Not severe (CVSS 5, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2022-10-26 · Modified: 2025-04-15
- Aliases: ALPINE-CVE-2022-3705, UBUNTU-CVE-2022-3705, DEBIAN-CVE-2022-3705
- Record: https://cvemate.com/vulnerability/CVE-2022-3705 · JSON: https://cvemate.com/vulnerability/CVE-2022-3705/json

## Description

```text
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.
```

## Signals

- CVSS: 7.5 high (v3.1, NVD) CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
- EPSS: 1.677%, percentile 77.7%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- alpine vim (Alpine Linux): \< 9.0.0815-r0
- debian vim (Debian): \< 2:9.0.0813-1
- ubuntu vim (Ubuntu): All versions (No fix recorded) \| \< 2:8.1.2269-1ubuntu5.18 \| \< 2:8.2.3995-1ubuntu2.12
- debian debian\_linux: 10.0
- fedoraproject fedora: 35 \| 36
- netapp active\_iq\_unified\_manager: na
- unspecified vim: n/a
- vim vim: \< 9.0.0805

## References

- <https://github.com/vim/vim/commit/d0fab10ed2a86698937e3c3fed2f10bd9bb5e731>
- <https://vuldb.com/?id.212324>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4JCW33NOLMELTTTDJH7WGDIFJZ5YEEMK/>
- <https://lists.debian.org/debian-lts-announce/2022/11/msg00009.html>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JYEK5RNMH7MVQH6RPBKLSCCA6NMIKHDV/>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/GTBVD4J2SKVSWK4VBN5JP5OEVK6GDS3N/>
- <https://security.netapp.com/advisory/ntap-20221223-0004/>
- <https://support.apple.com/kb/HT213605>
- <http://seclists.org/fulldisclosure/2023/Jan/19>
- <https://security.gentoo.org/glsa/202305-16>
- <https://security.alpinelinux.org/vuln/CVE-2022-3705>
- <https://ubuntu.com/security/CVE-2022-3705>
- <https://ubuntu.com/security/notices/USN-6420-1>
- <https://www.cve.org/CVERecord?id=CVE-2022-3705>
- <https://security-tracker.debian.org/tracker/CVE-2022-3705>
- <https://nvd.nist.gov/vuln/detail/CVE-2022-3705>

---

Data as of 2026-12-05T04:55:21.289Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
