CVE-2023-48231 json
Use-After-Free in win_close() in vim
published 2023-11-16 2 y ago modified 2026-06-23 4 mo ago also EUVD-2023-52303
- cvss
- 3.9
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.7%
- EPSS 0.7% chance of exploitation in 30 days, percentile 52%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- vim vim 9.0.2106
- vim Debian 14, Debian 13 2:9.0.2116-1
debian advisories DEBIAN-CVE-2023-48231
- vim Ubuntu 20.04 LTS 2:8.1.2269-1ubuntu5.21
- vim Ubuntu 22.04 LTS 2:8.2.3995-1ubuntu2.15
- vim Ubuntu Pro 14.04 LTS 2:7.4.052-1ubuntu3.1+esm15
- vim Ubuntu Pro 16.04 LTS 2:7.4.1689-3ubuntu1.5+esm22
- vim Ubuntu Pro 18.04 LTS 2:8.0.1453-1ubuntu1.13+esm7
ubuntu advisories UBUNTU-CVE-2023-48231
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- vim SLE Module for Desktop Applications 15 SP5, SLE Module for Basesystem 15 SP5, SLE Micro 5.5 +1 more 9.1.0111-150500.20.9.1
- vim SLES for SAP 15 SP4, SLES for SAP 15 SP3, SLES for SAP 15 SP2 +16 more 9.1.0111-150000.5.60.1
- vim SLES for SAP 12 SP5, SLES 12 SP5 9.1.0111-17.29.1
suse advisories SUSE-SU-2024:1287-1SUSE-SU-2024:0871-1SUSE-SU-2024:0783-1
- vim Alpine 3.24, Alpine 3.23, Alpine 3.22 +3 more 9.0.2112-r0
alpine advisories ALPINE-CVE-2023-48231
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- github.com/vim/vim@25aabc2 commit
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2023-48231 updated cvss 4.3
vim: use after free in win_close()
-
Red Hat Enterprise Linux 6 vim, vim-X11, vim-common, vim-minimal, vim-enhanced, vim-filesystem Red Hat Enterprise Linux 7 vim, vim-X11, vim-common, vim-minimal, vim-enhanced, vim-filesystemaffected: workaround, no fix planned “Out of support scope”
-
Red Hat Enterprise Linux 8 vim, vim-X11, vim-common, vim-minimal, vim-enhanced, vim-filesystem Red Hat Enterprise Linux 9 vim, vim-X11, vim-common, vim-minimal, vim-enhanced, vim-filesystemaffected: workaround, no fix available “Fix deferred”
-
Red Hat OpenShift AI (RHOAI) rhoai/odh-dashboard-rhel9under investigation
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 17 mo ago
Exploit prediction
0.67% chance of exploitation in the next 30 days, higher than 52% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 3.9 | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:L |
| NVD | 3.1 | 4.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L |
Affected products
- vim vim
Classification
- Weakness
-
- CWE-416 Use After Free
References
-
github.com
/vim/vim/commit/25aabc2b8ee1e19ced6f4da9d866cf9378fc4c5a
patch
-
github.com
/vim/vim/security/advisories/GHSA-8g46-v9ff-c765
vendor-advisory
-
openwall.com
/lists/oss-security/2023/11/16/1
mailing-list
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/M3VQF7CL3V6FGSEW37WNDFBRRILR65AK/
mailing-list, third-party-advisory
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/VNRNYLWXZOGTYWE5HMFNQ5FVE3HBUHF6/
mailing-list
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/4UJAK2W5S7G75ETDAEM3BDUCVSXCEGRD/
mailing-list
-
security.netapp.com
/advisory/ntap-20231227-0008/
third-party-advisory
Sources
- CVE List CVE-2023-48231
- NVD CVE-2023-48231
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.