Predictive Vulnerability Intelligence.

Product

  • Product
  • Pricing
  • Documentation

Company

  • About
  • Partnerships
  • Blog
  • Support

Legal

  • Terms
  • Privacy
  • Data Licensing

© 2026 FAUCET Technologies LLC. All rights reserved.

CVE-2026-52859

30
FAUCET Score

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.

First published: Jun 11, 2026Last modified: Jun 11, 2026

Impacted Technologies

VendorProductVersion(s)CPE
< 9.2.0565CPE matchmatch criteria
cpe:2.3:a:vim:vim:*:*:*:*:*:*:*:*

CVSS Data

CVSS version used by this source: 4.0

6.9MEDIUM

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

Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
VS Confidentiality
LOW
VS Integrity
NONE
VS Availability
LOW
SS Confidentiality
NONE
SS Integrity
NONE
SS Availability
NONE
Exploit Maturity
NOT_DEFINED
CvssVersion
4.0

Exploit Intelligence

EPSS Score
0.30%
Probability of exploitation in next 30 days
EPSS Percentile
22.6%
Percentile rank of EPSS score among Peer Group
As of 2026-07-28
Model: v2026.06.15
This CVE's current EPSS score of 0.0030 is in the 5th percentile among its peer group of 51,553 CVEs.

Social Chatter

The average CVE in this peer group has 0.0 Twitter, 0.0 Reddit, 0.1 Bluesky, 0.1 Mastodon, and 0.4 GitHub mentions.

Media Mentions

No media coverage found for this CVE.

The average CVE in this peer group has 0.1 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.

Remediation

Patch Available

Vendor Patches (11)

github_advisorypatch availablevia nvd_reference
View patch
microsoftpatch availablevia msrc
Product: 21449-17084Fixed in: 9.2.0620-1
microsoftpatch availablevia msrc
Product: azl3 vim 9.2.0488-1 on Azure Linux 3.0Fixed in: 9.2.0620-1
ubuntupatch availablevia ubuntu_usn
Product: vim (jammy)Fixed in: 2:8.2.3995-1ubuntu2.32
ubuntupatch availablevia ubuntu_usn
Product: vim (noble)Fixed in: 2:9.1.0016-1ubuntu7.16
ubuntupatch availablevia ubuntu_usn
Product: vim (questing)Fixed in: 2:9.1.0967-1ubuntu6.7
ubuntupatch availablevia ubuntu_usn
Product: vim (resolute)Fixed in: 2:9.1.2141-1ubuntu4.5
ubuntupatch availablevia ubuntu_usn
Product: vim (trusty)Fixed in: 2:7.4.052-1ubuntu3.1+esm29
ubuntupatch availablevia ubuntu_usn
Product: vim (xenial)Fixed in: 2:7.4.1689-3ubuntu1.5+esm35
ubuntupatch availablevia ubuntu_usn
Product: vim (bionic)Fixed in: 2:8.0.1453-1ubuntu1.13+esm20
ubuntupatch availablevia ubuntu_usn
Product: vim (focal)Fixed in: 2:8.1.2269-1ubuntu5.32+esm8

Vendor Advisories (2)

ubuntuUSN-8451-1

Vim vulnerabilities

Jun 18, 2026
microsoft2026-Jun/CVE-2026-52859Moderate

Vim: Out-of-bounds Read in Terminal Screen Snapshot

Jun 9, 2026

References

github.com / vim/vim/commit/63680c6d3d52477817b49cd1a66e7aabe8a7aa19
Patch
github.com / vim/vim/releases/tag/v9.2.0565
Release Notes
github.com / vim/vim/security/advisories/GHSA-47gw-8gc3-mgcm
Vendor Advisory