PT-2026-48722

CVE-2026-52859

·

Published

2026-05-30

·

Updated

2026-09-10

Description by

CVSS 3.1
8.2
High
MetricsAV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H
Name of the Vulnerable Software and Affected Versions Vim versions prior to 9.2.0565
Description The update snapshot() function in src/terminal.c copies the visible terminal screen into the scrollback buffer during a snapshot. The process involves iterating through the chars[] array of each screen cell without an upper bound, relying solely on a NUL terminator to stop. When a cell fills all VTERM MAX CHARS PER CELL (6) slots—consisting of a base character and five combining marks—the bundled libvterm returns the array without a terminating NUL. This causes the loop to read past the fixed six-element array and append out-of-bounds values to a buffer reserved for only six characters. A program rendering output inside a :terminal window can trigger this behavior using a short byte sequence, resulting in a crash.
Recommendations Update to version 9.2.0565.
Exploitability
Exploit
Fix
Impacts
Researchers
Vendors
Affected products
Weakness enumeration
Related identifiers
GHSA-47GW-8GC3-MGCM
ALSA-2026:66336
ALSA-2026:66348
ALSA-2026:66366
AZL-89772
CLSA-2026-1782143534
CLSA-2026-1782143913
CLSA-2026-1782143942
CLSA-2026-1782221662
CLSA-2026-1782222901
CLSA-2026-1782984730
CLSA-2026-1787394930
ECHO-EBFF-11FA-7124
OESA-2026-2761
OESA-2026-2762
OESA-2026-2763
OESA-2026-2863
RHSA-2026:66336
USN-8451-1
Found an issue in the description? Have something to add? Feel free to write us 👾