Description
Vim is an open source, command line text editor. From 9.2.0320 until 9.2.0679, a crafted undo or swap file can store a virtual-text property whose offset and length point outside the line's property data. When Vim restores or displays such a line it converts the offset into a pointer and reads the virtual text without bounds checking, causing an out-of-bounds read that can crash Vim or disclose adjacent heap memory. This vulnerability is fixed in 9.2.0679.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| vim | vim | >= 9.2.0320, < 9.2.0679 | — |
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.2.0782-1 | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat Hardened Images 1 | vim +8 | 2:9.2.967-1.1.hum1 | RHSA-2026:57614 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | vim | 9.2.0680-r0 | — |
| Alpine v3.23 | vim | 9.2.0854-r0 | — |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | xxd +6 | 2:9.2.725-1.amzn2023.0.1 | ALAS2023-2026-1940 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | vim | 9.2.0735-1 | — |
Advisories 3
- RHSA-2026:57614 Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update Red Hat Security Advisories (RHSA) · Nov 13, 2026
- WID-SEC-2026-2088 vim: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 1, 2026
- ALAS2023-2026-1940 Important: vim security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Jul 20, 2026