Description
Vim is an open source command line text editor. A floating point exception may occur when calculating the line offset for overlong lines and smooth scrolling is enabled and the cpo-settings include the 'n' flag. This may happen when a window border is present and when the wrapped line continues on the next physical line directly in the window border because the 'cpo' setting includes the 'n' flag. Only users with non-default settings are affected and the exception should only result in a crash. This issue has been addressed in commit `cb0b99f0` which has been included in release version 9.0.2107. Users are advised to upgrade. There are no known workarounds for this vulnerability.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| vim | vim | < 9.0.2107 | — |
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.0.2116-1 | — |
| Debian 13 | vim | 2:9.0.2116-1 | — |
| Debian 12 | vim | No fix yet | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP5 | vim | 9.1.0111-150500.20.9.1 | SUSE-SU-2024:1287-1 |
| SLES 15 SP4 | vim | 9.1.0111-150000.5.60.1 | SUSE-SU-2024:0871-1 |
| SLES 15 SP3 | vim | 9.1.0111-150000.5.60.1 | SUSE-SU-2024:0871-1 |
| SLES 15 SP2 | vim | 9.1.0111-150000.5.60.1 | SUSE-SU-2024:0871-1 |
| SLES 12 SP5 | vim | 9.1.0111-17.29.1 | SUSE-SU-2024:0783-1 |
Show 15 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 15 SP4 | vim | 9.1.0111-150000.5.60.1 | SUSE-SU-2024:0871-1 |
| SLES for SAP 15 SP3 | vim | 9.1.0111-150000.5.60.1 | SUSE-SU-2024:0871-1 |
| SLES for SAP 15 SP2 | vim | 9.1.0111-150000.5.60.1 | SUSE-SU-2024:0871-1 |
| SLES for SAP 12 SP5 | vim | 9.1.0111-17.29.1 | SUSE-SU-2024:0783-1 |
| SLE Micro 5.5 | vim | 9.1.0111-150500.20.9.1 | SUSE-SU-2024:1287-1 |
| SLE Micro 5.4 | vim | 9.1.0111-150000.5.60.1 | SUSE-SU-2024:0871-1 |
| SLE Micro 5.3 | vim | 9.1.0111-150000.5.60.1 | SUSE-SU-2024:0871-1 |
| SLE Micro 5.2 | vim | 9.1.0111-150000.5.60.1 | SUSE-SU-2024:0871-1 |
| SLE Micro 5.1 | vim | 9.1.0111-150000.5.60.1 | SUSE-SU-2024:0871-1 |
| SLE HPC 15 SP4 | vim | 9.1.0111-150000.5.60.1 | SUSE-SU-2024:0871-1 |
| SLE HPC 15 SP3 | vim | 9.1.0111-150000.5.60.1 | SUSE-SU-2024:0871-1 |
| SLE HPC 15 SP2 | vim | 9.1.0111-150000.5.60.1 | SUSE-SU-2024:0871-1 |
| SUSE Manager Server 4.3 | vim | 9.1.0111-150000.5.60.1 | SUSE-SU-2024:0871-1 |
| SUSE Manager Proxy 4.3 | vim | 9.1.0111-150000.5.60.1 | SUSE-SU-2024:0871-1 |
| SUSE Enterprise Storage 7.1 | vim | 9.1.0111-150000.5.60.1 | SUSE-SU-2024:0871-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Leap 15.5 | vim | 9.1.0111-150500.20.9.1 | SUSE-SU-2024:1287-1 |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Leap Micro 5.4 | vim | 9.1.0111-150000.5.60.1 | SUSE-SU-2024:0871-1 |
| openSUSE Leap Micro 5.3 | vim | 9.1.0111-150000.5.60.1 | SUSE-SU-2024:0871-1 |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | xxd +6 | 2:9.0.2120-1.amzn2023 | ALAS2023-2023-447 |
| Amazon Linux 2 | xxd +6 | 2:9.0.2120-1.amzn2.0.1 | ALAS2-2023-2353 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 2 (CBL-Mariner) | vim | 9.0.2112-1 | — |
Advisories 6
- WID-SEC-2023-2962 vim: Mehrere Schwachstellen BSI CERT-Bund (WID) · May 27, 2026
- SUSE-SU-2024:0783-1 Security update for vim SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2024:1287-1 Security update for vim SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2024:0871-1 Security update for vim SUSE / openSUSE Security Updates · Feb 4, 2026
- ALAS2023-2023-447 Low: vim security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Dec 14, 2023
- ALAS2-2023-2353 Low: vim security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Dec 4, 2023
References
- https://github.com/vim/vim/security/advisories/GHSA-f6cx-x634-hqpw
- https://github.com/vim/vim/commit/cb0b99f0672d8446585d26e998343dceca17d1ce
- http://www.openwall.com/lists/oss-security/2023/11/16/1
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/M3VQF7CL3V6FGSEW37WNDFBRRILR65AK/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/VNRNYLWXZOGTYWE5HMFNQ5FVE3HBUHF6/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4UJAK2W5S7G75ETDAEM3BDUCVSXCEGRD/
- https://security.netapp.com/advisory/ntap-20231227-0006/