Description
Vim is an open source, command line text editor. In versions from 9.1.1231 to before 9.1.1400, When processing nested tuples in Vim script, an error during evaluation can trigger a use-after-free in Vim’s internal tuple reference management. Specifically, the tuple_unref() function may access already freed memory due to improper lifetime handling, leading to memory corruption. The exploit requires direct user interaction, as the script must be explicitly executed within Vim. This issue has been patched in version 9.1.1400.
References (3)
Core 3
Core References
Vendor Advisory x_refsource_confirm
https://github.com/vim/vim/security/advisories/GHSA-3r4f-mm4w-wgg6
Patch x_refsource_misc
https://github.com/vim/vim/commit/1307743697bbc46e1518abfea7f89caa95bcaf97
Patch x_refsource_misc
https://github.com/vim/vim/releases/tag/v9.1.1400
Scores
CVSS v3
8.8
EPSS
0.0007
EPSS Percentile
20.5%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
no
Technical Impact
partial
Details
CWE
CWE-416
Status
published
Products (1)
vim/vim
9.1.1231 - 9.1.1400
Published
Aug 11, 2025
Tracked Since
Feb 18, 2026