CVEFinder.io

CVE-2026-52859

⚠️ high
🔍 Scan for this CVE
Summary

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 with

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.

CVSS Score
8.2
High
EPSS Score
0.3
Exploit Probability
Published Date
2026-06-11
First Seen: 2026-06-12
📊 Relative Risk Intelligence

This CVE is High Risk - more severe than 79.6% of all 329,456 vulnerabilities in our database.

#67,188
Top 25% most severe
Severity Percentile
🎯 CISA SSVC Assessment Updated: Jun 11, 2026
🔍 Exploitation Status
None
No known exploits
⚙️ Automatable
YES
Can be exploited automatically
💥 Technical Impact
Partial
Limited system impact
SSVC data provided by CISA
Last Modified 2026-06-15
Source NVD 🔗
CVSS Vector 3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H
CVSS Vector 4.0 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
CWE IDs (Weakness Types)

📦 Affected Products 1

🔗 References 3

🔗 Related CVEs 6

CVE ID Severity CVSS EPSS Summary Published
CVE-2026-47162 ⚠️ high 8.8 0.3 Vim is an open source, command line text editor. Prior to version 9.2.0495, a Vimscript code injection vulnerability exi... 2026-06-11
CVE-2026-47167 🔶 medium 5.3 0.1 Vim is an open source, command line text editor. Prior to version 9.2.0496, a code injection vulnerability exists in s:s... 2026-06-11
CVE-2026-52858 ⚠️ high 7.8 0.2 Vim is an open source, command line text editor. Prior to version 9.2.0561, the Python omni-completion script in python3... 2026-06-11
CVE-2026-52860 ⚠️ high 7.8 0.2 Vim is an open source, command line text editor. Prior to version 9.2.0597, Vim's Python omni-completion executes recons... 2026-06-11
CVE-2026-46483 ℹ️ low 3.6 0.0 Vim is an open source, command line text editor. Prior to 9.2.0479, a command injection vulnerability exists in tar#Vimu... 2026-05-15
CVE-2026-42307 🔶 medium 4.4 0.2 Vim is an open source, command line text editor. Prior to version 9.2.0383, an OS command injection vulnerability exists... 2026-05-08
These CVEs affect the same products