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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| vim | vim | >= 9.1.1231, < 9.1.1406 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP7 | vim | 9.1.1629-150500.20.33.1 | SUSE-SU-2025:03300-1 |
| SLES 15 SP6 | vim | 9.1.1629-150500.20.33.1 | SUSE-SU-2025:03300-1 |
| SLES 12 SP5 | vim | 9.1.1629-17.51.1 | SUSE-SU-2025:03299-1 |
Show 7 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLE Micro 6.1 | vim | 9.1.1629-slfo.1.1_1.1 | SUSE-SU-2025:20857-1 |
| SLE Micro 6.0 | vim | 9.1.1629-1.1 | SUSE-SU-2025:20696-1 |
| SLE Micro 5.5 | vim | 9.1.1629-150500.20.33.1 | SUSE-SU-2025:03300-1 |
| SLE Micro 5.4 | vim | 9.1.1629-150000.5.78.1 | SUSE-SU-2025:03240-1 |
| SLE Micro 5.3 | vim | 9.1.1629-150000.5.78.1 | SUSE-SU-2025:03240-1 |
| SLE Micro 5.2 | vim | 9.1.1629-150000.5.78.1 | SUSE-SU-2025:03240-1 |
| SLE Micro 5.1 | vim | 9.1.1629-150000.5.78.1 | SUSE-SU-2025:03240-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Leap 15.6 | vim | 9.1.1629-150500.20.33.1 | SUSE-SU-2025:03300-1 |
Advisories 7
- WID-SEC-2026-0349 Dell Avamar und NetWorker: Mehrere Schwachstellen BSI CERT-Bund (WID) · Sep 17, 2026
- SUSE-SU-2025:20696-1 Security update for vim SUSE / openSUSE Security Updates · Mar 23, 2026
- SUSE-SU-2025:20857-1 Security update for vim SUSE / openSUSE Security Updates · Mar 23, 2026
- WID-SEC-2025-1753 vim: Mehrere Schwachstellen ermöglichen Denial of Service BSI CERT-Bund (WID) · Feb 15, 2026
- SUSE-SU-2025:03300-1 Security update for vim SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2025:03299-1 Security update for vim SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2025:03240-1 Security update for vim SUSE / openSUSE Security Updates · Feb 4, 2026