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.
CVSS Details
- CVSS 4.0 Base Score: 6.9 (MEDIUM)
- CVSS 4.0 Vector: (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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X)
- CVSS 3.1 Base Score: 8.2
- CVSS 3.1 Vector: (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H)
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Alpine Linux | — | Upgrade vim | Jun 18, 2026 | Jun 11, 2026 |
| Redhat_linux | — | Upgrade vim-common-debuginfoUpgrade vim-filesystemUpgrade vim-enhanced-debuginfoUpgrade vim-minimalUpgrade vim-dataUpgrade vim-commonUpgrade vim-X11Upgrade vim-enhancedUpgrade vim-X11-debuginfoUpgrade vim-minimal-debuginfoUpgrade xxd-debuginfoNo solution existsUpgrade vim-debuginfoUpgrade xxdUpgrade vim-debugsource | Jul 17, 2026 | Jun 11, 2026 |
| Rocky_linux | — | Upgrade vim-minimal-debuginfoUpgrade xxd-debuginfoUpgrade vim-debugsourceUpgrade vim-X11-debuginfoUpgrade vim-X11Upgrade vim-debuginfoUpgrade vim-common-debuginfoUpgrade vim-commonUpgrade vim-enhanced-debuginfoUpgrade vim-enhancedUpgrade xxdUpgrade vim-minimal | Sep 15, 2026 | Sep 11, 2026 |
| Ubuntu | — | Upgrade vim-tinyUpgrade vim-gui-common (Ubuntu Pro)Upgrade vim-commonUpgrade vim-gtkUpgrade vim-nox (Ubuntu Pro)Upgrade vim-tiny (Ubuntu Pro)Upgrade vim-runtimeUpgrade xxdUpgrade vim-noxUpgrade vim-nox-py2 (Ubuntu Pro)Upgrade vim-runtime (Ubuntu Pro)Upgrade vim-athenaUpgrade vim-athena (Ubuntu Pro)Upgrade vim-gtk3 (Ubuntu Pro)Upgrade vim (Ubuntu Pro)Upgrade vim-gtk-py2 (Ubuntu Pro)Upgrade vim-gui-commonUpgrade vim-gtk3-py2 (Ubuntu Pro)Upgrade vim-lesstif (Ubuntu Pro)Upgrade vim-gtk (Ubuntu Pro)Upgrade vim-gnome (Ubuntu Pro)Upgrade vim-gtk3Upgrade vim-athena-py2 (Ubuntu Pro)Upgrade vim-common (Ubuntu Pro)Upgrade xxd (Ubuntu Pro)Upgrade vim-motifUpgrade vimUpgrade vim-gnome-py2 (Ubuntu Pro) | Jun 21, 2026 | Jun 18, 2026 |
| Vmware Photon_os | — | Use 'tdnf update' to upgrade all packages to the latest version. | Jul 1, 2026 | Jun 11, 2026 |
Prioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub