CVE-2026-28418 Details
Description
Vim is an open source, command line text editor. Prior to version 9.2.0074, a heap-based buffer overflow out-of-bounds read exists in Vim's Emacs-style tags file parsing logic. When processing a malformed tags file, Vim can be tricked into reading up to 7 bytes beyond the allocated memory boundary. Version 9.2.0074 fixes the issue.
A heap-based buffer overflow vulnerability allowing out-of-bounds reads has been identified in Vim versions prior to 9.2.0074. This issue arises in the Emacs-style tags file parsing logic, specifically within the 'emacs_tags_new_filename()' function. When Vim processes a malformed tags file, it can be manipulated into reading up to 7 bytes beyond the allocated memory limit. The vulnerability occurs because the code incorrectly assumes that a comma delimiter has been found, leading to unauthorized access of memory immediately after the buffer boundary. This out-of-bounds read can cause Vim to crash, creating a denial-of-service condition.
Users can upgrade to Vim version 9.2.0074 or later, where this vulnerability has been fixed.
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/7 | CVE | Mailing ListPatchThird Party Advisory |
| https://github.com/vim/vim/commit/f6a7f469a9c0d09e84cd6cb | [email protected] | Patch |
| https://github.com/vim/vim/releases/tag/v9.2.0074 | [email protected] | Release Notes |
| https://github.com/vim/vim/security/advisories/GHSA-h4mf-vg97-hj8j | [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.0074 |
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 3, 2026 | Initial Analysis | [email protected] |
| Feb 28, 2026 | CVE Modified | CVE |
| Feb 27, 2026 | New CVE Received | [email protected] |