High severity8.8NVD Advisory· Published Aug 11, 2025· Updated Jun 17, 2026
CVE-2025-55158
CVE-2025-55158
Description
Vim is an open source, command line text editor. In versions from 9.1.1231 to before 9.1.1406, when processing nested tuples during Vim9 script import operations, an error during evaluation can trigger a double-free in Vim’s internal typed value (typval_T) management. Specifically, the clear_tv() function may attempt to free memory that has already been deallocated, due to improper lifetime handling in the handle_import / ex_import code paths. The vulnerability can only be triggered if a user explicitly opens and executes a specially crafted Vim script. This issue has been patched in version 9.1.1406.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
15- osv-coords13 versionspkg:rpm/opensuse/vim&distro=openSUSE%20Leap%2015.6pkg:rpm/suse/vim&distro=SUSE%20Linux%20Enterprise%20Micro%205.1pkg:rpm/suse/vim&distro=SUSE%20Linux%20Enterprise%20Micro%205.2pkg:rpm/suse/vim&distro=SUSE%20Linux%20Enterprise%20Micro%205.3pkg:rpm/suse/vim&distro=SUSE%20Linux%20Enterprise%20Micro%205.4pkg:rpm/suse/vim&distro=SUSE%20Linux%20Enterprise%20Micro%205.5pkg:rpm/suse/vim&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP6pkg:rpm/suse/vim&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP7pkg:rpm/suse/vim&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Desktop%20Applications%2015%20SP6pkg:rpm/suse/vim&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Desktop%20Applications%2015%20SP7pkg:rpm/suse/vim&distro=SUSE%20Linux%20Enterprise%20Server%20LTSS%20Extended%20Security%2012%20SP5pkg:rpm/suse/vim&distro=SUSE%20Linux%20Micro%206.0pkg:rpm/suse/vim&distro=SUSE%20Linux%20Micro%206.1
< 9.1.1629-150500.20.33.1+ 12 more
- (no CPE)range: < 9.1.1629-150500.20.33.1
- (no CPE)range: < 9.1.1629-150000.5.78.1
- (no CPE)range: < 9.1.1629-150000.5.78.1
- (no CPE)range: < 9.1.1629-150000.5.78.1
- (no CPE)range: < 9.1.1629-150000.5.78.1
- (no CPE)range: < 9.1.1629-150500.20.33.1
- (no CPE)range: < 9.1.1629-150500.20.33.1
- (no CPE)range: < 9.1.1629-150500.20.33.1
- (no CPE)range: < 9.1.1629-150500.20.33.1
- (no CPE)range: < 9.1.1629-150500.20.33.1
- (no CPE)range: < 9.1.1629-17.51.1
- (no CPE)range: < 9.1.1629-1.1
- (no CPE)range: < 9.1.1629-slfo.1.1_1.1
Patches
Vulnerability mechanics
References
3News mentions
0No linked articles in our index yet.