Use After Free in vim/vim
Summary
| CVE | CVE-2022-2817 |
|---|---|
| State | PUBLISHED |
| Assigner | @huntrdev |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2022-08-15 23:15:09 UTC |
| Updated | 2026-11-02 22:17:13 UTC |
| Description | Use After Free in GitHub repository vim/vim prior to 9.0.0213. |
Risk And Classification
Primary CVSS: v3.1 7.8 HIGH from [email protected]
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS: 0.005350000 probability, percentile 0.452190000 (date 2026-11-03)
Problem Types: CWE-416 | CWE-416 CWE-416 Use After Free
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Primary | 7.8 | HIGH | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| 3.0 | [email protected] | Secondary | 7.8 | HIGH | CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| 3.0 | CNA | DECLARED | 7.8 | HIGH | CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
CVSS v3.1 Breakdown
Attack Vector
LocalAttack Complexity
LowPrivileges Required
NoneUser Interaction
RequiredScope
UnchangedConfidentiality
HighIntegrity
HighAvailability
HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS v3.0 Breakdown
Attack Vector
LocalAttack Complexity
LowPrivileges Required
NoneUser Interaction
RequiredScope
UnchangedConfidentiality
HighIntegrity
HighAvailability
HighCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Operating System | Fedoraproject | Fedora | 35 | All | All | All |
| Application | Vim | Vim | All | All | All | All |
Vendor Declared Affected Products
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| patch 9.0.0213: using freed memory with error in assert argument · vim/vim@249e1b9 · GitHub | af854a3a-2127-422b-91ae-364da2661108 | github.com | Patch, Third Party Advisory |
| [SECURITY] Fedora 35 Update: vim-9.0.213-1.fc35 - package-announce - Fedora Mailing-Lists | af854a3a-2127-422b-91ae-364da2661108 | lists.fedoraproject.org | |
| Vim, gVim: Multiple Vulnerabilities (GLSA 202305-16) — Gentoo security | af854a3a-2127-422b-91ae-364da2661108 | security.gentoo.org | |
| Use After Free in function string_quote vulnerability found in vim | af854a3a-2127-422b-91ae-364da2661108 | huntr.dev | Exploit, Patch, Third Party Advisory |
| [SECURITY] Fedora 35 Update: vim-9.0.213-1.fc35 - package-announce - Fedora Mailing-Lists | MITRE | lists.fedoraproject.org | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
Legacy QID Mappings
- 182471 Debian Security Update for vim (CVE-2022-2817)
- 199672 Ubuntu Security Notification for Vim Vulnerabilities (USN-6302-1)
- 283059 Fedora Security Update for vim (FEDORA-2022-6f5e420e52)
- 354085 Amazon Linux Security Advisory for vim : ALAS-2022-1639
- 354087 Amazon Linux Security Advisory for vim : ALAS2-2022-1868
- 354478 Amazon Linux Security Advisory for vim : ALAS2022-2022-131
- 354497 Amazon Linux Security Advisory for vim : ALAS2022-2022-155
- 354585 Amazon Linux Security Advisory for vim : ALAS-2022-155
- 355135 Amazon Linux Security Advisory for vim : ALAS2023-2023-098
- 502804 Alpine Linux Security Update for vim
- 710718 Gentoo Linux Vim, gVim Multiple Vulnerabilities (GLSA 202305-16)
- 752573 SUSE Enterprise Linux Security Update for vim (SUSE-SU-2022:3229-1)
- 753066 SUSE Enterprise Linux Security Update for vim (SUSE-SU-2022:4619-1)
- 902747 Common Base Linux Mariner (CBL-Mariner) Security Update for vim (10554)
- 902751 Common Base Linux Mariner (CBL-Mariner) Security Update for vim (10565)
- 903937 Common Base Linux Mariner (CBL-Mariner) Security Update for vim (10554-1)
- 903971 Common Base Linux Mariner (CBL-Mariner) Security Update for vim (10565-1)