Bug 2250268 (CVE-2023-48231) - CVE-2023-48231 vim: use after free in win_close()
Summary: CVE-2023-48231 vim: use after free in win_close()
Keywords:
Status: NEW
Alias: CVE-2023-48231
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2250275
Blocks: 2250282
TreeView+ depends on / blocked
 
Reported: 2023-11-17 12:12 UTC by TEJ RATHI
Modified: 2024-03-27 16:31 UTC (History)
0 users

Fixed In Version: vim 9.0.2106
Doc Type: If docs needed, set a value
Doc Text:
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.
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description TEJ RATHI 2023-11-17 12:12:46 UTC
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. There are no known workarounds for this vulnerability.

http://www.openwall.com/lists/oss-security/2023/11/16/1
https://github.com/vim/vim/commit/25aabc2b8ee1e19ced6f4da9d866cf9378fc4c5a
https://github.com/vim/vim/security/advisories/GHSA-8g46-v9ff-c765

Comment 1 TEJ RATHI 2023-11-17 12:13:14 UTC
Created vim tracking bugs for this issue:

Affects: fedora-all [bug 2250275]


Note You need to log in before you can comment on or make changes to this bug.