{"id":"CVE-2023-48231","published":"2023-11-16T22:59:37Z","modified":"2026-06-23T17:19:10Z","title":"Use-After-Free in win_close() in vim","vendor":"vim","product":"vim","tier":"tail","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.","provenance":"source","from":"CVE.org"},"cvss":{"score":3.9,"severity":"LOW","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0071,"percentile":0.54437,"provenance":"source"},"cwes":[{"id":"CWE-416","name":"Use After Free"}],"references":[{"url":"https://github.com/vim/vim/security/advisories/GHSA-8g46-v9ff-c765","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/vim/vim/commit/25aabc2b8ee1e19ced6f4da9d866cf9378fc4c5a","tags":["x_refsource_MISC"]},{"url":"http://www.openwall.com/lists/oss-security/2023/11/16/1","tags":[]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/M3VQF7CL3V6FGSEW37WNDFBRRILR65AK/","tags":[]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/VNRNYLWXZOGTYWE5HMFNQ5FVE3HBUHF6/","tags":[]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4UJAK2W5S7G75ETDAEM3BDUCVSXCEGRD/","tags":[]},{"url":"https://security.netapp.com/advisory/ntap-20231227-0008/","tags":[]}],"priority":{"score":13.6,"factors":[{"name":"EPSS percentile","points":10.89},{"name":"CVSS severity","points":2.73}]},"vendorSlug":"vim","affectedVersions":[{"vendor":"vim","product":"vim","versions":["< 9.0.2106"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-06-03T15:34:03.396306Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2023-52303","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-vim-vim-cve-2019-20807","parents":[{"from":"CVE-2022-2284","to":"CVE-2023-48231","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/window.c"],"commits":["https://github.com/vim/vim/commit/3d51ce18ab1be4f9f6061568a4e7fabf00b21794","https://github.com/vim/vim/commit/25aabc2b8ee1e19ced6f4da9d866cf9378fc4c5a"],"basis":"shared function","functions":["win_close"]}]}],"children":[{"from":"CVE-2023-48231","to":"CVE-2024-43374","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/window.c"],"commits":["https://github.com/vim/vim/commit/25aabc2b8ee1e19ced6f4da9d866cf9378fc4c5a","https://github.com/vim/vim/commit/0a6e57b09bc8c76691b367a5babfb79b31b770e8"],"basis":"shared function","functions":["win_close"]}]}]}}