CVE-2026-28420 Details
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.
A heap-based buffer overflow vulnerability allowing write operations and an out-of-bounds read have been identified in Vim's terminal emulator. This issue affects Vim versions prior to 9.2.0076 and arises when the editor processes the maximum number of combining characters from Unicode supplementary planes. The vulnerability is located in the 'handle_pushline()' function within 'src/terminal.c'. The heap overflow occurs because Vim allocates 21 bytes per cell, based on the assumption that characters will remain within the Basic Multilingual Plane (BMP). However, a cell can actually contain up to six characters from supplementary planes, each requiring four bytes, leading to a three-byte heap overflow. The out-of-bounds read is caused by a loop that iterates over cell characters without properly checking the boundaries, allowing it to read past the end of the character array.
Users can upgrade to Vim version 9.2.0076 or later to address this vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Mar 2, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| http://www.openwall.com/lists/oss-security/2026/02/27/9 | CVE | Mailing ListPatchThird Party Advisory |
| https://github.com/vim/vim/commit/bb6de2105b160e729c34063 | [email protected] | Patch |
| https://github.com/vim/vim/releases/tag/v9.2.0076 | [email protected] | Product |
| https://github.com/vim/vim/security/advisories/GHSA-rvj2-jrf9-2phg | [email protected] | PatchVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-122 | Heap-based Buffer Overflow | [email protected] |
| CWE-125 | Out-of-bounds Read | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| vim vim | < 9.2.0076 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Mar 4, 2026 | Initial Analysis | [email protected] |
| Feb 28, 2026 | CVE Modified | CVE |
| Feb 27, 2026 | New CVE Received | [email protected] |