CVE-2026-52859
published medium CVSS 4.0 · 6.9Vim: Out-of-bounds Read in Terminal Screen Snapshot
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| vim | — | vim< 9.2.0565 | Affected | Not stated | GitHub_M |
| Amazon Linux | AL2 | Release evaluationALAS2-2026-3883 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-1862 | Fixed | Not stated | Amazon Linux assessment |
| Alpine Linux | edge | vim | Fixed | 9.2.0567-r0 | Package fix record |
| Debian | trixie | vim | Advisory build | 2:9.1.1230-2+deb13u1 | DSA-6600-1 |
| Red Hat Enterprise Linux | RHEL-10 | vimsrc | Advisory build | 2:9.1.083-9.el10_2.20 | RHSA-2026:66336 |
| Ubuntu | bionic | vim | Advisory build | 2:8.0.1453-1ubuntu1.13+esm20 | USN-8451-1 |
| AlmaLinux | 10 | vim-data | Advisory build | 2:9.1.083-9.el10_2.20 | ALSA-2026:66336 |
Show 95 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Oracle Linux | 10 | vim-X11aarch64 | Advisory build | 2:9.1.083-9.0.1.el10_2.20 | ELSA-2026-66336-0 |
| Alpine Linux | v3.23 | vim | Fixed | 9.2.0567-r0 | Package fix record |
| Alpine Linux | v3.24 | vim | Fixed | 9.2.0567-r0 | Package fix record |
| Red Hat Enterprise Linux | RHEL-8 | vimsrc | Advisory build | 2:8.0.1763-31.el8_10.7 | RHSA-2026:66348 |
| Red Hat Enterprise Linux | RHEL-9 | vimsrc | Advisory build | 2:8.2.2637-26.el9_8.21 | RHSA-2026:66366 |
| Ubuntu | focal | vim | Advisory build | 2:8.1.2269-1ubuntu5.32+esm8 | USN-8451-1 |
| Ubuntu | jammy | vim | Advisory build | 2:8.2.3995-1ubuntu2.32 | USN-8451-1 |
| Ubuntu | noble | vim | Advisory build | 2:9.1.0016-1ubuntu7.16 | USN-8451-1 |
| Ubuntu | questing | vim | Advisory build | 2:9.1.0967-1ubuntu6.7 | USN-8451-1 |
| Ubuntu | resolute | vim | Advisory build | 2:9.1.2141-1ubuntu4.5 | USN-8451-1 |
| AlmaLinux | 10 | vim-filesystem | Advisory build | 2:9.1.083-9.el10_2.20 | ALSA-2026:66336 |
| AlmaLinux | 8 | vim-X11 | Advisory build | 2:8.0.1763-31.el8_10.7 | ALSA-2026:66348 |
| AlmaLinux | 8 | vim-common | Advisory build | 2:8.0.1763-31.el8_10.7 | ALSA-2026:66348 |
| AlmaLinux | 8 | vim-enhanced | Advisory build | 2:8.0.1763-31.el8_10.7 | ALSA-2026:66348 |
| AlmaLinux | 8 | vim-filesystem | Advisory build | 2:8.0.1763-31.el8_10.7 | ALSA-2026:66348 |
| AlmaLinux | 8 | vim-minimal | Advisory build | 2:8.0.1763-31.el8_10.7 | ALSA-2026:66348 |
| AlmaLinux | 9 | vim-X11 | Advisory build | 2:8.2.2637-26.el9_8.21 | ALSA-2026:66366 |
| AlmaLinux | 9 | vim-common | Advisory build | 2:8.2.2637-26.el9_8.21 | ALSA-2026:66366 |
| AlmaLinux | 9 | vim-enhanced | Advisory build | 2:8.2.2637-26.el9_8.21 | ALSA-2026:66366 |
| AlmaLinux | 9 | vim-filesystem | Advisory build | 2:8.2.2637-26.el9_8.21 | ALSA-2026:66366 |
| AlmaLinux | 9 | vim-minimal | Advisory build | 2:8.2.2637-26.el9_8.21 | ALSA-2026:66366 |
| Oracle Linux | 10 | vim-X11x86_64 | Advisory build | 2:9.1.083-9.0.1.el10_2.20 | ELSA-2026-66336-0 |
| Oracle Linux | 10 | vim-commonaarch64 | Advisory build | 2:9.1.083-9.0.1.el10_2.20 | ELSA-2026-66336-0 |
| Oracle Linux | 10 | vim-commonx86_64 | Advisory build | 2:9.1.083-9.0.1.el10_2.20 | ELSA-2026-66336-0 |
| Oracle Linux | 10 | vim-dataaarch64 | Advisory build | 2:9.1.083-9.0.1.el10_2.20 | ELSA-2026-66336-0 |
| Oracle Linux | 10 | vim-datax86_64 | Advisory build | 2:9.1.083-9.0.1.el10_2.20 | ELSA-2026-66336-0 |
| Oracle Linux | 10 | vim-enhancedaarch64 | Advisory build | 2:9.1.083-9.0.1.el10_2.20 | ELSA-2026-66336-0 |
| Oracle Linux | 10 | vim-enhancedx86_64 | Advisory build | 2:9.1.083-9.0.1.el10_2.20 | ELSA-2026-66336-0 |
| Oracle Linux | 10 | vim-filesystemaarch64 | Advisory build | 2:9.1.083-9.0.1.el10_2.20 | ELSA-2026-66336-0 |
| Oracle Linux | 10 | vim-filesystemx86_64 | Advisory build | 2:9.1.083-9.0.1.el10_2.20 | ELSA-2026-66336-0 |
| Oracle Linux | 10 | vim-minimalaarch64 | Advisory build | 2:9.1.083-9.0.1.el10_2.20 | ELSA-2026-66336-0 |
| Oracle Linux | 10 | vim-minimalx86_64 | Advisory build | 2:9.1.083-9.0.1.el10_2.20 | ELSA-2026-66336-0 |
| Oracle Linux | 10 | xxdaarch64 | Advisory build | 2:9.1.083-9.0.1.el10_2.20 | ELSA-2026-66336-0 |
| Oracle Linux | 10 | xxdx86_64 | Advisory build | 2:9.1.083-9.0.1.el10_2.20 | ELSA-2026-66336-0 |
| Oracle Linux | 8 | vim-X11aarch64 | Advisory build | 2:8.0.1763-31.0.1.el8_10.7 | ELSA-2026-66348-0 |
| Oracle Linux | 8 | vim-X11x86_64 | Advisory build | 2:8.0.1763-31.0.1.el8_10.7 | ELSA-2026-66348-0 |
| Oracle Linux | 8 | vim-commonaarch64 | Advisory build | 2:8.0.1763-31.0.1.el8_10.7 | ELSA-2026-66348-0 |
| Oracle Linux | 8 | vim-commonx86_64 | Advisory build | 2:8.0.1763-31.0.1.el8_10.7 | ELSA-2026-66348-0 |
| Oracle Linux | 8 | vim-enhancedaarch64 | Advisory build | 2:8.0.1763-31.0.1.el8_10.7 | ELSA-2026-66348-0 |
| Oracle Linux | 8 | vim-enhancedx86_64 | Advisory build | 2:8.0.1763-31.0.1.el8_10.7 | ELSA-2026-66348-0 |
| Oracle Linux | 8 | vim-filesystemaarch64 | Advisory build | 2:8.0.1763-31.0.1.el8_10.7 | ELSA-2026-66348-0 |
| Oracle Linux | 8 | vim-filesystemx86_64 | Advisory build | 2:8.0.1763-31.0.1.el8_10.7 | ELSA-2026-66348-0 |
| Oracle Linux | 8 | vim-minimalaarch64 | Advisory build | 2:8.0.1763-31.0.1.el8_10.7 | ELSA-2026-66348-0 |
| Oracle Linux | 8 | vim-minimalx86_64 | Advisory build | 2:8.0.1763-31.0.1.el8_10.7 | ELSA-2026-66348-0 |
| Oracle Linux | 9 | vim-X11aarch64 | Advisory build | 2:8.2.2637-26.0.1.el9_8.21 | ELSA-2026-66366-0 |
| Oracle Linux | 9 | vim-X11x86_64 | Advisory build | 2:8.2.2637-26.0.1.el9_8.21 | ELSA-2026-66366-0 |
| Oracle Linux | 9 | vim-commonaarch64 | Advisory build | 2:8.2.2637-26.0.1.el9_8.21 | ELSA-2026-66366-0 |
| Oracle Linux | 9 | vim-commonx86_64 | Advisory build | 2:8.2.2637-26.0.1.el9_8.21 | ELSA-2026-66366-0 |
| Oracle Linux | 9 | vim-enhancedaarch64 | Advisory build | 2:8.2.2637-26.0.1.el9_8.21 | ELSA-2026-66366-0 |
| Oracle Linux | 9 | vim-enhancedx86_64 | Advisory build | 2:8.2.2637-26.0.1.el9_8.21 | ELSA-2026-66366-0 |
| Oracle Linux | 9 | vim-filesystemaarch64 | Advisory build | 2:8.2.2637-26.0.1.el9_8.21 | ELSA-2026-66366-0 |
| Oracle Linux | 9 | vim-filesystemx86_64 | Advisory build | 2:8.2.2637-26.0.1.el9_8.21 | ELSA-2026-66366-0 |
| Oracle Linux | 9 | vim-minimalaarch64 | Advisory build | 2:8.2.2637-26.0.1.el9_8.21 | ELSA-2026-66366-0 |
| Oracle Linux | 9 | vim-minimalx86_64 | Advisory build | 2:8.2.2637-26.0.1.el9_8.21 | ELSA-2026-66366-0 |
| Red Hat Enterprise Linux | RHEL-10 | vim-X11aarch64 | Advisory build | 2:9.1.083-9.el10_2.20 | RHSA-2026:66336 |
| Red Hat Enterprise Linux | RHEL-10 | vim-X11ppc64le | Advisory build | 2:9.1.083-9.el10_2.20 | RHSA-2026:66336 |
| Red Hat Enterprise Linux | RHEL-10 | vim-X11s390x | Advisory build | 2:9.1.083-9.el10_2.20 | RHSA-2026:66336 |
| Red Hat Enterprise Linux | RHEL-10 | vim-X11x86_64 | Advisory build | 2:9.1.083-9.el10_2.20 | RHSA-2026:66336 |
| Red Hat Enterprise Linux | RHEL-10 | vim-commonaarch64 | Advisory build | 2:9.1.083-9.el10_2.20 | RHSA-2026:66336 |
| Red Hat Enterprise Linux | RHEL-10 | vim-commonppc64le | Advisory build | 2:9.1.083-9.el10_2.20 | RHSA-2026:66336 |
| Red Hat Enterprise Linux | RHEL-10 | vim-commons390x | Advisory build | 2:9.1.083-9.el10_2.20 | RHSA-2026:66336 |
| Red Hat Enterprise Linux | RHEL-10 | vim-commonx86_64 | Advisory build | 2:9.1.083-9.el10_2.20 | RHSA-2026:66336 |
| Red Hat Enterprise Linux | RHEL-10 | vim-enhancedaarch64 | Advisory build | 2:9.1.083-9.el10_2.20 | RHSA-2026:66336 |
| Red Hat Enterprise Linux | RHEL-10 | vim-enhancedppc64le | Advisory build | 2:9.1.083-9.el10_2.20 | RHSA-2026:66336 |
| Red Hat Enterprise Linux | RHEL-10 | vim-enhanceds390x | Advisory build | 2:9.1.083-9.el10_2.20 | RHSA-2026:66336 |
| Red Hat Enterprise Linux | RHEL-10 | vim-enhancedx86_64 | Advisory build | 2:9.1.083-9.el10_2.20 | RHSA-2026:66336 |
| Red Hat Enterprise Linux | RHEL-8 | vim-X11aarch64 | Advisory build | 2:8.0.1763-31.el8_10.7 | RHSA-2026:66348 |
| Red Hat Enterprise Linux | RHEL-8 | vim-X11ppc64le | Advisory build | 2:8.0.1763-31.el8_10.7 | RHSA-2026:66348 |
| Red Hat Enterprise Linux | RHEL-8 | vim-X11s390x | Advisory build | 2:8.0.1763-31.el8_10.7 | RHSA-2026:66348 |
| Red Hat Enterprise Linux | RHEL-8 | vim-X11x86_64 | Advisory build | 2:8.0.1763-31.el8_10.7 | RHSA-2026:66348 |
| Red Hat Enterprise Linux | RHEL-8 | vim-commonaarch64 | Advisory build | 2:8.0.1763-31.el8_10.7 | RHSA-2026:66348 |
| Red Hat Enterprise Linux | RHEL-8 | vim-commonppc64le | Advisory build | 2:8.0.1763-31.el8_10.7 | RHSA-2026:66348 |
| Red Hat Enterprise Linux | RHEL-8 | vim-commons390x | Advisory build | 2:8.0.1763-31.el8_10.7 | RHSA-2026:66348 |
| Red Hat Enterprise Linux | RHEL-8 | vim-commonx86_64 | Advisory build | 2:8.0.1763-31.el8_10.7 | RHSA-2026:66348 |
| Red Hat Enterprise Linux | RHEL-8 | vim-enhancedaarch64 | Advisory build | 2:8.0.1763-31.el8_10.7 | RHSA-2026:66348 |
| Red Hat Enterprise Linux | RHEL-8 | vim-enhancedppc64le | Advisory build | 2:8.0.1763-31.el8_10.7 | RHSA-2026:66348 |
| Red Hat Enterprise Linux | RHEL-8 | vim-enhanceds390x | Advisory build | 2:8.0.1763-31.el8_10.7 | RHSA-2026:66348 |
| Red Hat Enterprise Linux | RHEL-8 | vim-enhancedx86_64 | Advisory build | 2:8.0.1763-31.el8_10.7 | RHSA-2026:66348 |
| Red Hat Enterprise Linux | RHEL-9 | vim-X11aarch64 | Advisory build | 2:8.2.2637-26.el9_8.21 | RHSA-2026:66366 |
| Red Hat Enterprise Linux | RHEL-9 | vim-X11ppc64le | Advisory build | 2:8.2.2637-26.el9_8.21 | RHSA-2026:66366 |
| Red Hat Enterprise Linux | RHEL-9 | vim-X11s390x | Advisory build | 2:8.2.2637-26.el9_8.21 | RHSA-2026:66366 |
| Red Hat Enterprise Linux | RHEL-9 | vim-X11x86_64 | Advisory build | 2:8.2.2637-26.el9_8.21 | RHSA-2026:66366 |
| Red Hat Enterprise Linux | RHEL-9 | vim-commonaarch64 | Advisory build | 2:8.2.2637-26.el9_8.21 | RHSA-2026:66366 |
| Red Hat Enterprise Linux | RHEL-9 | vim-commonppc64le | Advisory build | 2:8.2.2637-26.el9_8.21 | RHSA-2026:66366 |
| Red Hat Enterprise Linux | RHEL-9 | vim-commons390x | Advisory build | 2:8.2.2637-26.el9_8.21 | RHSA-2026:66366 |
| Red Hat Enterprise Linux | RHEL-9 | vim-commonx86_64 | Advisory build | 2:8.2.2637-26.el9_8.21 | RHSA-2026:66366 |
| Red Hat Enterprise Linux | RHEL-9 | vim-enhancedaarch64 | Advisory build | 2:8.2.2637-26.el9_8.21 | RHSA-2026:66366 |
| Red Hat Enterprise Linux | RHEL-9 | vim-enhancedppc64le | Advisory build | 2:8.2.2637-26.el9_8.21 | RHSA-2026:66366 |
| Red Hat Enterprise Linux | RHEL-9 | vim-enhanceds390x | Advisory build | 2:8.2.2637-26.el9_8.21 | RHSA-2026:66366 |
| Red Hat Enterprise Linux | RHEL-9 | vim-enhancedx86_64 | Advisory build | 2:8.2.2637-26.el9_8.21 | RHSA-2026:66366 |
| Ubuntu | bionic | vim-athena | Advisory build | 2:8.0.1453-1ubuntu1.13+esm20 | USN-8451-1 |
| Ubuntu | bionic | vim-common | Advisory build | 2:8.0.1453-1ubuntu1.13+esm20 | USN-8451-1 |
| Ubuntu | bionic | vim-gnome | Advisory build | 2:8.0.1453-1ubuntu1.13+esm20 | USN-8451-1 |
| Ubuntu | bionic | vim-gtk | Advisory build | 2:8.0.1453-1ubuntu1.13+esm20 | USN-8451-1 |
| Ubuntu | bionic | vim-gtk3 | Advisory build | 2:8.0.1453-1ubuntu1.13+esm20 | USN-8451-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
Vim is an open source, command line text editor. Prior to version 9.2.0565, the update_snapshot() function in src/terminal.c copies the visible terminal screen into the scrollback buffer when a snapshot is taken. For each screen cell it walks the cell's chars[] array with no upper bound, stopping only when it encounters a NUL terminator. When a cell legitimately fills all VTERM_MAX_CHARS_PER_CELL (6) slots — a base character plus five combining marks — the bundled libvterm returns the array without a terminating NUL, so the loop reads past the fixed six-element array and appends the out-of-bounds values to a buffer reserved for only six characters. A program whose output is rendered inside a :terminal window can trigger this with a short byte sequence and no Vim scripting, leading to a crash. This issue has been patched in version 9.2.0565.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.9 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:L/SC:N/SI:N/SA:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| vim | vim | < 9.2.0565 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-125 CWE-125: Out-of-bounds Read
References
3Provider assertions
2GitHub_M · cna
Vim: Out-of-bounds Read in Terminal Screen Snapshot
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 284fdb89c8d6e641cdbb63b034ca6d4b8ef4e3f9edc69c7936f6dd97784a0ce3
- Ingested
- 23 Sep 2026, 09:19:36 UTC
- Source record
- Official CVE record