Description
Vim is an open source, command line text editor. Prior to version 9.2.0076, a heap-based buffer overflow WRITE and an out-of-bounds READ exist in Vim's terminal emulator when processing maximum combining characters from Unicode supplementary planes. Version 9.2.0076 fixes the issue.
Published: 2026-02-27
Score: 4.4 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Heap-based buffer overflow and out-of-bounds read in Vim's terminal emulator, risking memory corruption and potential code execution
Action: Patch
AI Analysis

Impact

Vim's terminal emulator contains a heap-based buffer overflow WRITE and an out-of-bounds READ when it processes maximum combining characters from Unicode supplementary planes. These errors fall under CWE-122 and CWE-125. The overflow allows an attacker to corrupt memory, which could lead to crashes, data leakage, or, in the worst case, arbitrary code execution if the corrupted memory can be leveraged. The exact damage depends on the context in which Vim runs but memory corruption is inherently dangerous.

Affected Systems

Affected products are all releases of the Vim text editor before version 9.2.0076. The fixed version 9.2.0076 and any later releases contain a patch that removes the vulnerable parsing logic. Vim is distributed under the Vim license and is commonly installed on Unix-like systems and Windows.

Risk and Exploitability

The CVSS base score of 4.4 indicates moderate impact. EPSS shows a probability of exploitation below 1 %, meaning real-world exploitation is currently very unlikely, and the vulnerability is not listed in CISA's Known Exploited Vulnerabilities catalog. The vulnerability is most likely exploitable from a local context where an attacker can supply crafted Unicode input to Vim's terminal session; remote exploitation would require additional components that are not indicated in the description. Given the low EPSS, the risk to exposed environments is modest but upgrading remains prudent.

Generated by OpenCVE AI on April 16, 2026 at 15:09 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Vim to version 9.2.0076 or later to apply the fix for the terminal buffer overflow and out-of-bounds read.
  • If an upgrade cannot be performed immediately, disable Vim's terminal emulator feature (e.g., remove or comment out the :terminal command) to eliminate the attack surface.
  • Enforce strict input validation or restrict Unicode combining character usage in environments where Vim's terminal is needed, ensuring no malicious characters are processed.

Generated by OpenCVE AI on April 16, 2026 at 15:09 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 04 Mar 2026 21:00:00 +0000

Type Values Removed Values Added
CPEs cpe:2.3:a:vim:vim:*:*:*:*:*:*:*:*

Mon, 02 Mar 2026 22:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Mon, 02 Mar 2026 12:15:00 +0000

Type Values Removed Values Added
First Time appeared Vim
Vim vim
Vendors & Products Vim
Vim vim

Sat, 28 Feb 2026 12:15:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

threat_severity

Moderate


Sat, 28 Feb 2026 01:30:00 +0000

Type Values Removed Values Added
References

Fri, 27 Feb 2026 22:15:00 +0000

Type Values Removed Values Added
Description Vim is an open source, command line text editor. Prior to version 9.2.0076, a heap-based buffer overflow WRITE and an out-of-bounds READ exist in Vim's terminal emulator when processing maximum combining characters from Unicode supplementary planes. Version 9.2.0076 fixes the issue.
Title Vim has Heap-based Buffer Overflow and OOB Read in :terminal
Weaknesses CWE-122
CWE-125
References
Metrics cvssV3_1

{'score': 4.4, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-03-02T21:55:05.724Z

Reserved: 2026-02-27T15:33:57.290Z

Link: CVE-2026-28420

cve-icon Vulnrichment

Updated: 2026-02-28T00:15:35.201Z

cve-icon NVD

Status : Analyzed

Published: 2026-02-27T22:16:25.330

Modified: 2026-03-04T20:47:23.017

Link: CVE-2026-28420

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-02-27T22:04:36Z

Links: CVE-2026-28420 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-04-16T15:15:39Z

Weaknesses