CVE-2023-48231
published 2023-11-16CVE-2023-48231: 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…
PriorityP418medium4.3CVSS 3.1
AVNACLPRNUIRSUCNINAL
EPSS
0.67%
48.1th percentile
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.
Affected
13 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | vim | < vim 2:9.0.2116-1 (forky) | vim 2:9.0.2116-1 (forky) |
| fedoraproject | fedora | — | — |
| fedoraproject | fedora | — | — |
| fedoraproject | fedora | — | — |
| msrc | cbl2_vim_9.0.2112-1_on_cbl_mariner_2.0 | — | — |
| vim | vim | < 9.0.2106 | 9.0.2106 |
| vim | vim | >= 0 < 2:9.0.2116-1 | 2:9.0.2116-1 |
| vim | vim | >= 0 < 2:9.0.2116-1 | 2:9.0.2116-1 |
| vim | vim | >= 0 < 2:8.1.2269-1ubuntu5.21 | 2:8.1.2269-1ubuntu5.21 |
| vim | vim | >= 0 < 2:8.2.3995-1ubuntu2.15 | 2:8.2.3995-1ubuntu2.15 |
| vim | vim | >= 0 < 2:7.4.052-1ubuntu3.1+esm15 | 2:7.4.052-1ubuntu3.1+esm15 |
| vim | vim | >= 0 < 2:7.4.1689-3ubuntu1.5+esm22 | 2:7.4.1689-3ubuntu1.5+esm22 |
| vim | vim | >= 0 < 2:8.0.1453-1ubuntu1.13+esm7 | 2:8.0.1453-1ubuntu1.13+esm7 |
CVSS provenance
nvdv3.14.3MEDIUMCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
osv5.5MEDIUM
vendor_ubuntu5.5MEDIUM
vendor_msrc4.3MEDIUM
vendor_debian3.9LOW
vendor_redhat3.9LOW
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Ubuntu
Vim vulnerabilities
vendor_ubuntu·2023-12-14·CVSS 5.5
CVE-2023-48706 [MEDIUM] Vim vulnerabilities
Title: Vim vulnerabilities
Summary: Several security issues were fixed in Vim.
It was discovered that Vim could be made to dereference invalid memory. An
attacker could possibly use this issue to cause a denial of service. This
issue only affected Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, and Ubuntu 22.04
LTS. (CVE-2022-1725)
It was discovered that Vim could be made to recurse infinitely. An
attacker could possibly use this issue to cause a denial of service. This
issue only affected Ubuntu 14.04 LTS, Ubuntu 16.04 LTS, Ubuntu 18.04 LTS,
Ubuntu 20.04 LTS, and Ubuntu 22.04 LTS. (CVE-2022-1771)
It was discovered that Vim could be made to write out of bounds with a put
command. An attacker could possibly use this issue to cause a denial of
service or execute arbitrary code. This issue only affec
Red Hat
vim: use after free in win_close()
vendor_redhat·2023-11-16·CVSS 3.9
CVE-2023-48231 [LOW] CWE-416 vim: use after free in win_close()
vim: use after free in win_close()
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.
A heap use-after-free flaw was found in the vim package. When executing a `:s` command for the first time and using a sub-replace-special atom inside the substitution, it is possible that the recursive `:s` call causes memory to be freed, which may later then be accessed by the initial `:s` command. This issue may result in Vim crashing.
Statement: Red Hat Product Sec
Microsoft
Use-After-Free in win_close() in vim
vendor_msrc·2023-11-14·CVSS 4.3
CVE-2023-48231 [LOW] CWE-416 Use-After-Free in win_close() in vim
Use-After-Free in win_close() in vim
FAQ: Is Azure Linux the only Microsoft product that includes this open-source library and is therefore potentially affected by this vulnerability?
One of the main benefits to our customers who choose to use the Azure Linux distro is the commitment to keep it up to date with the most recent and most secure versions of the open source libraries with which the distro is composed. Microsoft is committed to transparency in this work which is why we began publishing CSAF/VEX in October 2025. See this blog post for more information. If impact to additional products is identified, we will update the CVE to reflect this.
Mariner: Mariner
GitHub_M: GitHub_M
Customer Action Required: Yes
Remediation: CBL-Mariner Releases
Reference: https://learn.microsoft.co
Debian
CVE-2023-48231: vim - Vim is an open source command line text editor. When closing a window, vim may t...
vendor_debian·2023·CVSS 3.9
CVE-2023-48231 [LOW] CVE-2023-48231: vim - Vim is an open source command line text editor. When closing a window, vim may t...
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.
Scope: local
bookworm: open
bullseye: open
forky: resolved (fixed in 2:9.0.2116-1)
sid: resolved (fixed in 2:9.0.2116-1)
trixie: resolved (fixed in 2:9.0.2116-1)
VulDB
vim up to 9.0.2105 Window use after free (GHSA-8g46-v9ff-c765 / Nessus ID 238005)
vuldb·2026-06-24·CVSS 4.3
CVE-2023-48231 [MEDIUM] vim up to 9.0.2105 Window use after free (GHSA-8g46-v9ff-c765 / Nessus ID 238005)
A vulnerability, which was classified as problematic, was found in vim up to 9.0.2105. This vulnerability affects unknown code of the component Window Handler. The manipulation results in use after free.
This vulnerability was named CVE-2023-48231. The attack needs to be approached locally. There is no available exploit.
You should upgrade the affected component.
OSV
vim vulnerabilities
osv·2023-12-14·CVSS 5.5
CVE-2022-1725 [MEDIUM] vim vulnerabilities
vim vulnerabilities
It was discovered that Vim could be made to dereference invalid memory. An
attacker could possibly use this issue to cause a denial of service. This
issue only affected Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, and Ubuntu 22.04
LTS. (CVE-2022-1725)
It was discovered that Vim could be made to recurse infinitely. An
attacker could possibly use this issue to cause a denial of service. This
issue only affected Ubuntu 14.04 LTS, Ubuntu 16.04 LTS, Ubuntu 18.04 LTS,
Ubuntu 20.04 LTS, and Ubuntu 22.04 LTS. (CVE-2022-1771)
It was discovered that Vim could be made to write out of bounds with a put
command. An attacker could possibly use this issue to cause a denial of
service or execute arbitrary code. This issue only affected Ubuntu 22.04
LTS. (CVE-2022-1886)
It was discovered tha
OSV
CVE-2023-48231: Vim is an open source command line text editor
osv·2023-11-16·CVSS 4.3
CVE-2023-48231 [MEDIUM] CVE-2023-48231: Vim is an open source command line text editor
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.
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
http://www.openwall.com/lists/oss-security/2023/11/16/1https://github.com/vim/vim/commit/25aabc2b8ee1e19ced6f4da9d866cf9378fc4c5ahttps://github.com/vim/vim/security/advisories/GHSA-8g46-v9ff-c765https://lists.fedoraproject.org/archives/list/[email protected]/message/4UJAK2W5S7G75ETDAEM3BDUCVSXCEGRD/https://lists.fedoraproject.org/archives/list/[email protected]/message/M3VQF7CL3V6FGSEW37WNDFBRRILR65AK/https://lists.fedoraproject.org/archives/list/[email protected]/message/VNRNYLWXZOGTYWE5HMFNQ5FVE3HBUHF6/https://security.netapp.com/advisory/ntap-20231227-0008/http://www.openwall.com/lists/oss-security/2023/11/16/1https://github.com/vim/vim/commit/25aabc2b8ee1e19ced6f4da9d866cf9378fc4c5ahttps://github.com/vim/vim/security/advisories/GHSA-8g46-v9ff-c765https://lists.fedoraproject.org/archives/list/[email protected]/message/4UJAK2W5S7G75ETDAEM3BDUCVSXCEGRD/https://lists.fedoraproject.org/archives/list/[email protected]/message/M3VQF7CL3V6FGSEW37WNDFBRRILR65AK/https://lists.fedoraproject.org/archives/list/[email protected]/message/VNRNYLWXZOGTYWE5HMFNQ5FVE3HBUHF6/https://security.netapp.com/advisory/ntap-20231227-0008/
2023-11-16
Published