Description
Vim is an open source, command line text editor. A segmentation fault was found in Vim before 9.1.1043. In silent Ex mode (-s -e), Vim typically doesn't show a screen and just operates silently in batch mode. However, it is still possible to trigger the function that handles the scrolling of a gui version of Vim by feeding some binary characters to Vim. The function that handles the scrolling however may be triggering a redraw, which will access the ScreenLines pointer, even so this variable hasn't been allocated (since there is no screen). This vulnerability is fixed in 9.1.1043.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| vim | vim | < 9.1.1043 | — |
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.1113-1 | — |
| Debian 13 | vim | 2:9.1.1113-1 | — |
| Debian 12 | vim | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 25.10 | vim | 2:9.1.0967-1ubuntu4 | — |
| Ubuntu 24.04 LTS | vim | 2:9.1.0016-1ubuntu7.7 | USN-7261-2 |
| Ubuntu 22.04 LTS | vim | 2:8.2.3995-1ubuntu2.23 | USN-7261-1 |
| Ubuntu 20.04 LTS | vim | 2:8.1.2269-1ubuntu5.31 | USN-7261-1 |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 18.04 LTS | vim | 2:8.0.1453-1ubuntu1.13+esm13 | USN-7815-1 |
| Ubuntu Pro 16.04 LTS | vim | 2:7.4.1689-3ubuntu1.5+esm28 | USN-7815-1 |
| Ubuntu Pro 14.04 LTS | vim | 2:7.4.052-1ubuntu3.1+esm22 | USN-7815-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 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | vim | 9.1.1105-r0 | — |
| Alpine v3.23 | vim | 9.1.1105-r0 | — |
| Alpine v3.22 | vim | 9.1.1105-r0 | — |
| Alpine v3.21 | vim | 9.1.1105-r0 | — |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | xxd +6 | 2:9.1.1202-1.amzn2023.0.1 | ALAS2023-2025-932 |
| Amazon Linux 2 | xxd +6 | 2:9.0.2153-1.amzn2.0.3 | ALAS2-2025-2753 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | vim | 9.1.0791-3 | — |
| Azure Linux 2 (CBL-Mariner) | vim | 9.1.0791-3 | — |
Advisories 11
- WID-SEC-2025-1439 Dell Secure Connect Gateway: Mehrere Schwachstellen ermöglichen nicht spezifizierten Angriff BSI CERT-Bund (WID) · Oct 11, 2026
- USN-7815-1 vim vulnerabilities Ubuntu Security Notices (USN) · Jun 25, 2026
- SUSE-SU-2025:20128-1 Security update for vim SUSE / openSUSE Security Updates · Mar 23, 2026
- WID-SEC-2025-0130 vim: Schwachstelle ermöglicht Denial of Service BSI CERT-Bund (WID) · Feb 15, 2026
- USN-7261-1 vim vulnerability Ubuntu Security Notices (USN) · Feb 10, 2026
- USN-7261-2 vim vulnerability Ubuntu Security Notices (USN) · Feb 10, 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
- ALAS2023-2025-932 Moderate: vim security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Apr 14, 2025
- ALAS2-2025-2753 Moderate: vim security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Feb 25, 2025