CVE-2026-52859Patch(vim / vim)

LOWCVSS 8.2 · HIGH

Signal is active with 1 mentions in latest observed window

Immediate actions

  • Patch vim vim systems immediately

Recommended action window: Monitor and triage in normal cycle

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.

0.5/ 10 priority

Sources & remediation

Weakness type (CWE)
CWE-125

Priority

LOW

Exploitation

NONE

PoC

NONE

Patch

AVAILABLE

Momentum

NONE

Are you affected?

If you run products in this scope, you should treat this CVE as relevant to your environment.

  • vim

Threat summary

  • Patch or workaround signal is available
  • 1 mentions across 1 observed day

What's happening

  • Patch or workaround mentioned in 1 signal
  • Technical details provided in 1 signal
  • 1 total mentions across 1 day

Affected systems

Vendors
Products
vim

Deep dive

Activity timeline1 mentions / 1d
00111Mentions · 2026-06-13: 1Patch / Workaround · 2026-06-13: 1Technical Details · 2026-06-13: 106-13
Signal classification1 categories
Patch
1100.0%
Referenced assets1 URL
Full discourse1 post
  • WindowsForum@windowsforum
    Patch

    🪟 Vim terminal crash (CVE-2026-52859) = “medium” until your build server faceplants in a dark corner. Lesson: even dev tools get memory bugs… and Microsoft’s MSRC still has to pick up the pieces. #Windows #Microsoft #CVE #Vim #Security https://windowsforum.com/threads/cve-2026-52859-vim-terminal-crash-fix-in-vim-9-2-0565-explained.425770/?utm_source=x&utm_medium=social&utm_campaign=news_node84 #TerminalEmulator https://t.co/5Ia3HOdODE

    Post summary

    The post highlights a medium‑severity memory bug in Vim’s terminal, points to a patch in version 9.2.0565, but offers no PoC, exploit code, or evidence of active exploitation.

    0000066
    1.2K followersView on X
CPE platform detail1 entries

1 of 1 entries

PartVendorProductVersionTarget SWTarget HW
Appvimvim---

Explore more