Patchwire CVEs, their patch status, and feeds to follow them

CVE-2026-52859

Fixed in a distro release EPSS <1%CVSS 6.9

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.

Published 2026-06-11 · CVE record · OSV

Products: vim

Distro releases

ReleasePackageFixed in
AlmaLinux 10vim-X112:9.1.083-9.el10_2.20
AlmaLinux 10vim-common2:9.1.083-9.el10_2.20
AlmaLinux 10vim-data2:9.1.083-9.el10_2.20
AlmaLinux 10vim-enhanced2:9.1.083-9.el10_2.20
AlmaLinux 10vim-filesystem2:9.1.083-9.el10_2.20
AlmaLinux 10vim-minimal2:9.1.083-9.el10_2.20
AlmaLinux 10xxd2:9.1.083-9.el10_2.20
AlmaLinux 8vim-X112:8.0.1763-31.el8_10.7
AlmaLinux 8vim-common2:8.0.1763-31.el8_10.7
AlmaLinux 8vim-enhanced2:8.0.1763-31.el8_10.7
AlmaLinux 8vim-filesystem2:8.0.1763-31.el8_10.7
AlmaLinux 8vim-minimal2:8.0.1763-31.el8_10.7
AlmaLinux 9vim-X112:8.2.2637-26.el9_8.21
AlmaLinux 9vim-common2:8.2.2637-26.el9_8.21
AlmaLinux 9vim-enhanced2:8.2.2637-26.el9_8.21
AlmaLinux 9vim-filesystem2:8.2.2637-26.el9_8.21
AlmaLinux 9vim-minimal2:8.2.2637-26.el9_8.21
Alpine 3.23vim9.2.0567-r0
Amazon Linux 2vim-X112:9.0.2153-1.amzn2.0.11
Amazon Linux 2vim-common2:9.0.2153-1.amzn2.0.11
Amazon Linux 2vim-data2:9.0.2153-1.amzn2.0.11
Amazon Linux 2vim-enhanced2:9.0.2153-1.amzn2.0.11
Amazon Linux 2vim-filesystem2:9.0.2153-1.amzn2.0.11
Amazon Linux 2vim-minimal2:9.0.2153-1.amzn2.0.11
Amazon Linux 2xxd2:9.0.2153-1.amzn2.0.11
Amazon Linux 2023vim-common2:9.2.597-1.amzn2023.0.1
Amazon Linux 2023vim-data2:9.2.597-1.amzn2023.0.1
Amazon Linux 2023vim-default-editor2:9.2.597-1.amzn2023.0.1
Amazon Linux 2023vim-enhanced2:9.2.597-1.amzn2023.0.1
Amazon Linux 2023vim-filesystem2:9.2.597-1.amzn2023.0.1
Amazon Linux 2023vim-minimal2:9.2.597-1.amzn2023.0.1
Amazon Linux 2023xxd2:9.2.597-1.amzn2023.0.1
Debian 12vimno fix
Debian 13vimno fix
Debian 14vim2:9.2.0782-1
Red Hat Enterprise Linux 10.2vim2:9.1.083-9.el10_2.20
Red Hat Enterprise Linux 10.2vim-X112:9.1.083-9.el10_2.20
Red Hat Enterprise Linux 10.2vim-common2:9.1.083-9.el10_2.20
Red Hat Enterprise Linux 10.2vim-enhanced2:9.1.083-9.el10_2.20
Red Hat Enterprise Linux 8vim2:8.0.1763-31.el8_10.7
Red Hat Enterprise Linux 8vim-X112:8.0.1763-31.el8_10.7
Red Hat Enterprise Linux 8vim-common2:8.0.1763-31.el8_10.7
Red Hat Enterprise Linux 8vim-enhanced2:8.0.1763-31.el8_10.7
Red Hat Enterprise Linux 9vim2:8.2.2637-26.el9_8.21
Red Hat Enterprise Linux 9vim-X112:8.2.2637-26.el9_8.21
Red Hat Enterprise Linux 9vim-common2:8.2.2637-26.el9_8.21
Red Hat Enterprise Linux 9vim-enhanced2:8.2.2637-26.el9_8.21
Red Hat hummingbird 1vim0:9.2.967-1.1.hum1
Red Hat hummingbird 1vim-X110:9.2.967-1.1.hum1
Red Hat hummingbird 1vim-common0:9.2.967-1.1.hum1
Red Hat hummingbird 1vim-data0:9.2.967-1.1.hum1
Red Hat hummingbird 1vim-default-editor0:9.2.967-1.1.hum1
Red Hat hummingbird 1vim-enhanced0:9.2.967-1.1.hum1
Red Hat hummingbird 1vim-filesystem0:9.2.967-1.1.hum1
Red Hat hummingbird 1vim-minimal0:9.2.967-1.1.hum1
Red Hat hummingbird 1xxd0:9.2.967-1.1.hum1
Rocky Linux 10vim2:9.1.083-9.el10_2.20
Rocky Linux 8vim2:8.0.1763-31.el8_10.7
Rocky Linux 9vim2:8.2.2637-26.el9_8.21
Ubuntu 22.04 LTSvim2:8.2.3995-1ubuntu2.32
Ubuntu 24.04 LTSvim2:9.1.0016-1ubuntu7.16
Ubuntu 25.10vim2:9.1.0967-1ubuntu6.7
Ubuntu 26.04 LTSvim2:9.1.2141-1ubuntu4.5
Ubuntu Pro 14.04 LTSvim2:7.4.052-1ubuntu3.1+esm29
Ubuntu Pro 16.04 LTSvim2:7.4.1689-3ubuntu1.5+esm35
Ubuntu Pro 18.04 LTSvim2:8.0.1453-1ubuntu1.13+esm20
Ubuntu Pro 20.04 LTSvim2:8.1.2269-1ubuntu5.32+esm8