Use-After-Free in win_close() in vim
Summary
| CVE | CVE-2023-48231 |
|---|---|
| State | PUBLISHED |
| Assigner | GitHub_M |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2023-11-16 23:15:08 UTC |
| Updated | 2026-06-23 18:17:34 UTC |
| Description | Vim is an open source command line text editor. When closing a window, vim may try to access already freed window structure. Exploitation beyond crashing the application has not been shown to be viable. This issue has been addressed in commit `25aabc2b` which has been included in release version 9.0.2106. Users are advised to upgrade. There are no known workarounds for this vulnerability. |
Risk And Classification
Primary CVSS: v3.1 4.3 MEDIUM from [email protected]
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
EPSS: 0.006660000 probability, percentile 0.471690000 (date 2026-06-28)
Problem Types: CWE-416 | CWE-416 CWE-416: Use After Free
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Primary | 4.3 | MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L |
| 3.1 | [email protected] | Secondary | 3.9 | LOW | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:L |
| 3.1 | CNA | DECLARED | 3.9 | LOW | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:L |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
NoneUser Interaction
RequiredScope
UnchangedConfidentiality
NoneIntegrity
NoneAvailability
LowCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Operating System | Fedoraproject | Fedora | 37 | All | All | All |
| Operating System | Fedoraproject | Fedora | 38 | All | All | All |
| Operating System | Fedoraproject | Fedora | 39 | All | All | All |
| Application | Vim | Vim | All | All | All | All |
Vendor Declared Affected Products
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| lists.fedoraproject.org/archives/list/[email protected]/messag... | af854a3a-2127-422b-91ae-364da2661108 | lists.fedoraproject.org | Mailing List |
| Use-After-Free in win_close() · Advisory · vim/vim · GitHub | af854a3a-2127-422b-91ae-364da2661108 | github.com | Vendor Advisory |
| patch 9.0.2106: [security]: Use-after-free in win_close() · vim/vim@25aabc2 · GitHub | af854a3a-2127-422b-91ae-364da2661108 | github.com | Patch |
| oss-security - [vim-security] several minor security issues in Vim v9.0.2106-v9.0.2112 | af854a3a-2127-422b-91ae-364da2661108 | www.openwall.com | Mailing List |
| lists.fedoraproject.org/archives/list/[email protected]/messag... | af854a3a-2127-422b-91ae-364da2661108 | lists.fedoraproject.org | Mailing List, Third Party Advisory |
| security.netapp.com/advisory/ntap-20231227-0008 | af854a3a-2127-422b-91ae-364da2661108 | security.netapp.com | Third Party Advisory |
| lists.fedoraproject.org/archives/list/[email protected]/messag... | af854a3a-2127-422b-91ae-364da2661108 | lists.fedoraproject.org | Mailing List |
| 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
- 200016 Ubuntu Security Notification for Vim Vulnerabilities (USN-6557-1)
- 284764 Fedora Security Update for vim (FEDORA-2023-ce3f7d4818)
- 284765 Fedora Security Update for vim (FEDORA-2023-eec2cdb7ed)
- 285130 Fedora Security Update for vim (FEDORA-2023-45cf2b4014)
- 296107 Oracle Solaris 11.4 Support Repository Update (SRU) 65.157.1 Missing (CPUJAN2024)
- 356776 Amazon Linux Security Advisory for vim : ALAS2-2023-2353
- 356909 Amazon Linux Security Advisory for vim : ALAS2023-2023-447
- 357186 Amazon Linux Security Advisory for vim : AL2012-2024-485
- 505961 Alpine Linux Security Update for vim
- 673345 EulerOS Security Update for vim (EulerOS-SA-2024-1130)
- 673552 EulerOS Security Update for vim (EulerOS-SA-2024-1099)
- 673740 EulerOS Security Update for vim (EulerOS-SA-2024-1075)
- 673930 EulerOS Security Update for vim (EulerOS-SA-2024-1189)
- 673976 EulerOS Security Update for vim (EulerOS-SA-2024-1209)
- 674064 EulerOS Security Update for vim (EulerOS-SA-2024-1114)
- 755920 SUSE Enterprise Linux Security Update for vim (SUSE-SU-2024:0783-1)
- 755972 SUSE Enterprise Linux Security Update for vim (SUSE-SU-2024:0871-1)
- 907682 Common Base Linux Mariner (CBL-Mariner) Security Update for vim (32025-1)