Description
Vim is an open source, command line text editor. Patch v9.1.0038 optimized how the cursor position is calculated and removed a loop, that verified that the cursor position always points inside a line and does not become invalid by pointing beyond the end of
a line. Back then we assumed this loop is unnecessary. However, this change made it possible that the cursor position stays invalid and points beyond the end of a line, which would eventually cause a heap-buffer-overflow when trying to access the line pointer at
the specified cursor position. It's not quite clear yet, what can lead to this situation that the cursor points to an invalid position. That's why patch v9.1.0707 does not include a test case. The only observed impact has been a program crash. This issue has been addressed in with the patch v9.1.0707. All users are advised to upgrade.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| vim | vim | >= 9.1.0038, < 9.1.0707 | — |
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.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | vim | 2:9.1.0709-1 | — |
| Debian 13 | vim | 2:9.1.0709-1 | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP6 | vim | 9.1.1101-150500.20.21.1 | SUSE-SU-2025:0723-1 |
| SLES 12 SP5 | vim | 9.1.1101-17.41.1 | SUSE-SU-2025:0722-1 |
Show 6 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLE Micro 6.0 | vim | 9.1.1101-1.1 | SUSE-SU-2025:20128-1 |
| SLE Micro 5.5 | vim | 9.1.1101-150500.20.21.1 | SUSE-SU-2025:0723-1 |
| SLE Micro 5.4 | vim | 9.1.1101-150000.5.69.1 | SUSE-SU-2025:0724-1 |
| SLE Micro 5.3 | vim | 9.1.1101-150000.5.69.1 | SUSE-SU-2025:0724-1 |
| SLE Micro 5.2 | vim | 9.1.1101-150000.5.69.1 | SUSE-SU-2025:0724-1 |
| SLE Micro 5.1 | vim | 9.1.1101-150000.5.69.1 | SUSE-SU-2025:0724-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Leap 15.6 | vim | 9.1.1101-150500.20.21.1 | SUSE-SU-2025:0723-1 |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | vim | 9.1.0718-r0 | — |
Advisories 6
- WID-SEC-2025-1439 Dell Secure Connect Gateway: Mehrere Schwachstellen ermöglichen nicht spezifizierten Angriff BSI CERT-Bund (WID) · Oct 11, 2026
- SUSE-SU-2025:20128-1 Security update for vim SUSE / openSUSE Security Updates · Mar 23, 2026
- WID-SEC-2024-1968 vim: Schwachstelle ermöglicht Denial of Service BSI CERT-Bund (WID) · Feb 15, 2026
- SUSE-SU-2025:0722-1 Security update for vim SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2025:0724-1 Security update for vim SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2025:0723-1 Security update for vim SUSE / openSUSE Security Updates · Feb 4, 2026