Use-After-Free in win_close() in vim

Summary

CVECVE-2023-48231
StatePUBLISHED
AssignerGitHub_M
Source PriorityCVE Program / NVD first with legacy fallback
Published2023-11-16 23:15:08 UTC
Updated2026-06-23 18:17:34 UTC
DescriptionVim 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


VersionSourceTypeScoreSeverityVector
3.1[email protected]Primary4.3MEDIUMCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
3.1[email protected]Secondary3.9LOWCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:L
3.1CNADECLARED3.9LOWCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:L

CVSS v3.1 Breakdown

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
Low

CVSS: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)

TypeVendorProductVersionUpdateEditionLanguage
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

SourceVendorProductVersionPlatforms
CNA Vim Vim affected < 9.0.2106 Not specified

References

ReferenceSourceLinkTags
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

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)
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report