CVE & CISA-KEV Catalog

CVE-2026-52859

MEDIUM
8.2
CVSS v3
NVD

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.

How to fix

Remediation Available
vimUbuntu
Fixed in:2:7.4.052-1ubuntu3.1+esm29USN-8451-1
Fixed in:2:7.4.1689-3ubuntu1.5+esm35USN-8451-1
Fixed in:2:8.0.1453-1ubuntu1.13+esm20USN-8451-1
Fixed in:2:8.1.2269-1ubuntu5.32+esm8USN-8451-1
Fixed in:2:8.2.3995-1ubuntu2.32USN-8451-1
Fixed in:2:9.1.0016-1ubuntu7.16USN-8451-1
Fixed in:2:9.1.0967-1ubuntu6.7USN-8451-1
vim-athenaUbuntu
Fixed in:2:7.4.052-1ubuntu3.1+esm29USN-8451-1
Fixed in:2:7.4.1689-3ubuntu1.5+esm35USN-8451-1
Fixed in:2:8.0.1453-1ubuntu1.13+esm20USN-8451-1
Fixed in:2:8.1.2269-1ubuntu5.32+esm8USN-8451-1
Fixed in:2:8.2.3995-1ubuntu2.32USN-8451-1
Fixed in:2:9.1.0016-1ubuntu7.16USN-8451-1
Fixed in:2:9.1.0967-1ubuntu6.7USN-8451-1
vim-athena-py2Ubuntu
Fixed in:2:7.4.1689-3ubuntu1.5+esm35USN-8451-1
vim-commonUbuntu
Fixed in:2:7.4.052-1ubuntu3.1+esm29USN-8451-1
Fixed in:2:7.4.1689-3ubuntu1.5+esm35USN-8451-1
Fixed in:2:8.0.1453-1ubuntu1.13+esm20USN-8451-1
Fixed in:2:8.1.2269-1ubuntu5.32+esm8USN-8451-1
Fixed in:2:8.2.3995-1ubuntu2.32USN-8451-1
Fixed in:2:9.1.0016-1ubuntu7.16USN-8451-1
Fixed in:2:9.1.0967-1ubuntu6.7USN-8451-1
vim-gnomeUbuntu
Fixed in:2:7.4.052-1ubuntu3.1+esm29USN-8451-1
Fixed in:2:7.4.1689-3ubuntu1.5+esm35USN-8451-1
Fixed in:2:8.0.1453-1ubuntu1.13+esm20USN-8451-1
vim-gnome-py2Ubuntu
Fixed in:2:7.4.1689-3ubuntu1.5+esm35USN-8451-1
vim-gtkUbuntu
Fixed in:2:7.4.052-1ubuntu3.1+esm29USN-8451-1
Fixed in:2:7.4.1689-3ubuntu1.5+esm35USN-8451-1
Fixed in:2:8.0.1453-1ubuntu1.13+esm20USN-8451-1
Fixed in:2:8.1.2269-1ubuntu5.32+esm8USN-8451-1
Fixed in:2:8.2.3995-1ubuntu2.32USN-8451-1
vim-gtk-py2Ubuntu
Fixed in:2:7.4.1689-3ubuntu1.5+esm35USN-8451-1
vim-gtk3Ubuntu
Fixed in:2:7.4.1689-3ubuntu1.5+esm35USN-8451-1
Fixed in:2:8.0.1453-1ubuntu1.13+esm20USN-8451-1
Fixed in:2:8.1.2269-1ubuntu5.32+esm8USN-8451-1
Fixed in:2:8.2.3995-1ubuntu2.32USN-8451-1
Fixed in:2:9.1.0016-1ubuntu7.16USN-8451-1
Fixed in:2:9.1.0967-1ubuntu6.7USN-8451-1
vim-gtk3-py2Ubuntu
Fixed in:2:7.4.1689-3ubuntu1.5+esm35USN-8451-1
vim-gui-commonUbuntu
Fixed in:2:7.4.052-1ubuntu3.1+esm29USN-8451-1
Fixed in:2:7.4.1689-3ubuntu1.5+esm35USN-8451-1
Fixed in:2:8.0.1453-1ubuntu1.13+esm20USN-8451-1
Fixed in:2:8.1.2269-1ubuntu5.32+esm8USN-8451-1
Fixed in:2:8.2.3995-1ubuntu2.32USN-8451-1
Fixed in:2:9.1.0016-1ubuntu7.16USN-8451-1
Fixed in:2:9.1.0967-1ubuntu6.7USN-8451-1
vim-lesstifUbuntu
Fixed in:2:7.4.052-1ubuntu3.1+esm29USN-8451-1
vim-motifUbuntu
Fixed in:2:9.1.0016-1ubuntu7.16USN-8451-1
Fixed in:2:9.1.0967-1ubuntu6.7USN-8451-1
vim-noxUbuntu
Fixed in:2:7.4.052-1ubuntu3.1+esm29USN-8451-1
Fixed in:2:7.4.1689-3ubuntu1.5+esm35USN-8451-1
Fixed in:2:8.0.1453-1ubuntu1.13+esm20USN-8451-1
Fixed in:2:8.1.2269-1ubuntu5.32+esm8USN-8451-1
Fixed in:2:8.2.3995-1ubuntu2.32USN-8451-1
Fixed in:2:9.1.0016-1ubuntu7.16USN-8451-1
Fixed in:2:9.1.0967-1ubuntu6.7USN-8451-1
vim-nox-py2Ubuntu
Fixed in:2:7.4.1689-3ubuntu1.5+esm35USN-8451-1
vim-runtimeUbuntu
Fixed in:2:7.4.052-1ubuntu3.1+esm29USN-8451-1
Fixed in:2:7.4.1689-3ubuntu1.5+esm35USN-8451-1
Fixed in:2:8.0.1453-1ubuntu1.13+esm20USN-8451-1
Fixed in:2:8.1.2269-1ubuntu5.32+esm8USN-8451-1
Fixed in:2:8.2.3995-1ubuntu2.32USN-8451-1
Fixed in:2:9.1.0016-1ubuntu7.16USN-8451-1
Fixed in:2:9.1.0967-1ubuntu6.7USN-8451-1
vim-tinyUbuntu
Fixed in:2:7.4.052-1ubuntu3.1+esm29USN-8451-1
Fixed in:2:7.4.1689-3ubuntu1.5+esm35USN-8451-1
Fixed in:2:8.0.1453-1ubuntu1.13+esm20USN-8451-1
Fixed in:2:8.1.2269-1ubuntu5.32+esm8USN-8451-1
Fixed in:2:8.2.3995-1ubuntu2.32USN-8451-1
Fixed in:2:9.1.0016-1ubuntu7.16USN-8451-1
Fixed in:2:9.1.0967-1ubuntu6.7USN-8451-1
xxdUbuntu
Fixed in:2:8.0.1453-1ubuntu1.13+esm20USN-8451-1
Fixed in:2:8.1.2269-1ubuntu5.32+esm8USN-8451-1
Fixed in:2:8.2.3995-1ubuntu2.32USN-8451-1
Fixed in:2:9.1.0016-1ubuntu7.16USN-8451-1
Fixed in:2:9.1.0967-1ubuntu6.7USN-8451-1
VimWindows application
Affected:9.2.0565Fixed in:9.2.0565Bram Moolenaar et al.

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityLow
IntegrityNone
AvailabilityHigh

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H

Exploit Intelligence

0.30%probability of exploitation in 30 days
22ndpercentile

Low risk: more likely to be exploited than 22% of all known CVEs.

References

Vendor Advisory1
Release Notes1

Related Vulnerabilities

Other CWE-125 (Out-of-bounds Read) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2014-0160High7.5100%KEVFix
CVE-2025-5777High7.5100%KEV + RansomFix
CVE-2021-4034High7.895%KEVFix
CVE-2023-21769High7.592%-Fix
CVE-2023-49285High8.689%-Fix
CVE-2020-8794Critical9.889%-Fix
Embed a live status badge for CVE-2026-52859
CVE-2026-52859 severity badge

Markdown

[![CVE-2026-52859](https://tridentstack.com/cve/badge/CVE-2026-52859.svg)](https://tridentstack.com/cve/CVE-2026-52859)

HTML

<a href="https://tridentstack.com/cve/CVE-2026-52859"><img src="https://tridentstack.com/cve/badge/CVE-2026-52859.svg" alt="CVE-2026-52859"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-06-15.