8.2

CVE-2026-52859: vim Out-of-bounds Read

CVSS: 8.2v3.1HighAnalyzed
AliasesALPINE-CVE-2026-52859UBUNTU-CVE-2026-52859DEBIAN-CVE-2026-52859
Published 11-06-2026Last modified 11-06-2026

Vulnerability summary

CVE-2026-52859 is a high (CVSS 8.2) Out-of-bounds Read vulnerability in vim. EPSS estimates a 0.30% chance of exploitation in the next 30 days, higher than 21.7% of scored vulnerabilities.

Overall risk
33/100
0100
Medium · default modelHow is this calculated?
CVSS score
8.2/10
010
High · v3.1 (NVD)
EPSS score
0.30%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 5 · Related 1

Timeline

  1. 11-06-2026
    PublishedVulnerability first disclosed.
  2. 11-06-2026
    Last modifiedVulnerability information updated.

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 metrics

7 scores · 5 sources · 2 versions

EPSS trend

Probability

0.30%

Chance of exploitation in the next 30 days

Percentile

22%

Versus all other CVEs

30-day change

0.00 pp

From 0.30% on 21-09-2026

21-09-202621-10-2026
EPSS score
0.30%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Alpine1 product
  • vim< 9.2.0567-r0
Debian1 product
  • vimAll versions (No fix recorded) | < 2:9.2.0782-1
Ubuntu1 product
  • vim< 2:8.0.1453-1ubuntu1.13+esm20 | < 2:8.1.2269-1ubuntu5.32+esm8 | < 2:8.2.3995-1ubuntu2.32 | < 2:9.1.0016-1ubuntu7.16 | < 2:9.1.0967-1ubuntu6.7 | < 2:9.1.2141-1ubuntu4.5
Vim1 product

4 vendors · 4 products

References

9 links