# CVE-2023-48231: Use-After-Free in win\_close() in vim

- Priority: **Routine**
- Reason: Not severe (CVSS 3.9, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2023-11-16 · Modified: 2026-06-23
- Aliases: ALPINE-CVE-2023-48231, UBUNTU-CVE-2023-48231, DEBIAN-CVE-2023-48231
- Record: https://cvemate.com/vulnerability/CVE-2023-48231 · JSON: https://cvemate.com/vulnerability/CVE-2023-48231/json

## Description

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

## Signals

- CVSS: 4.3 medium (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
- EPSS: 0.71%, percentile 54.893%, 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.2112-r0
- debian vim (Debian): All versions (No fix recorded) \| \< 2:9.0.2116-1
- ubuntu vim (Ubuntu): \< 2:7.4.052-1ubuntu3.1+esm15 \| \< 2:7.4.1689-3ubuntu1.5+esm22 \| \< 2:8.0.1453-1ubuntu1.13+esm7 \| \< 2:8.1.2269-1ubuntu5.21 \| \< 2:8.2.3995-1ubuntu2.15
- fedoraproject fedora: 37 \| 38 \| 39
- vim vim: \< 9.0.2106

## References

- <https://github.com/vim/vim/security/advisories/GHSA-8g46-v9ff-c765>
- <https://github.com/vim/vim/commit/25aabc2b8ee1e19ced6f4da9d866cf9378fc4c5a>
- <http://www.openwall.com/lists/oss-security/2023/11/16/1>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/M3VQF7CL3V6FGSEW37WNDFBRRILR65AK/>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/VNRNYLWXZOGTYWE5HMFNQ5FVE3HBUHF6/>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4UJAK2W5S7G75ETDAEM3BDUCVSXCEGRD/>
- <https://security.netapp.com/advisory/ntap-20231227-0008/>
- <https://security.alpinelinux.org/vuln/CVE-2023-48231>
- <https://ubuntu.com/security/CVE-2023-48231>
- <https://ubuntu.com/security/notices/USN-6557-1>
- <https://www.cve.org/CVERecord?id=CVE-2023-48231>
- <https://security-tracker.debian.org/tracker/CVE-2023-48231>
- <https://nvd.nist.gov/vuln/detail/CVE-2023-48231>

---

Data as of 2026-12-05T04:58:49.411Z. 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
