# CVE-2023-48231: Use-After-Free in win_close() in vim

- Severity: Low 3.9 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.71%, higher than 54% of CVEs (2026-12-01)
- Published: 2023-11-16T22:59:37.681Z
- Modified: 2026-06-23T18:17:34.357Z
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- vim vim: < 9.0.2106; before 9.0.2106
- fedoraproject fedora: 37; 38; 39

## Every score

- GitHub_M: CVSS:3.1 3.9 Low `CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:L`
- NVD: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L`

## References

- <https://github.com/vim/vim/security/advisories/GHSA-8g46-v9ff-c765> (vendor-advisory)
- <https://github.com/vim/vim/commit/25aabc2b8ee1e19ced6f4da9d866cf9378fc4c5a> (patch)
- <http://www.openwall.com/lists/oss-security/2023/11/16/1> (mailing-list)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/M3VQF7CL3V6FGSEW37WNDFBRRILR65AK/> (mailing-list, third-party-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/VNRNYLWXZOGTYWE5HMFNQ5FVE3HBUHF6/> (mailing-list)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4UJAK2W5S7G75ETDAEM3BDUCVSXCEGRD/> (mailing-list)
- <https://security.netapp.com/advisory/ntap-20231227-0008/> (third-party-advisory)

## Sources

- CVE List: [CVE-2023-48231](https://www.cve.org/CVERecord?id=CVE-2023-48231), CVE Terms of Use, modified 2026-06-23
- NVD: [CVE-2023-48231](https://nvd.nist.gov/vuln/detail/CVE-2023-48231), Public domain, modified 2026-06-23

---

Page: https://cve.day/CVE-2023-48231 · Whole record: https://cve.day/CVE-2023-48231.json · Rebuilt by cve.day 2026-11-25T22:58:30.561Z
