
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-28419 is a heap-based buffer underflow vulnerability in Vim's Emacs-style tags file parsing logic, affecting all versions prior to 9.2.0075. When processing a malformed tags file where a 0x7f delimiter appears at the very start of a line, Vim attempts to read memory immediately preceding the heap-allocated buffer, resulting in a 1-byte out-of-bounds read. The vulnerability was disclosed on February 27, 2026, by researchers ehdgks0627 and un3xploitable, and fixed in Vim 9.2.0075 released the same day. It carries a CVSS v3.1 base score of 5.3 (Moderate) per the GitHub Security Advisory, though some sources score it as 6.6 (Medium) (GitHub Advisory, Openwall).
The vulnerability is rooted in the emacs_tags_parse_line() function in src/tag.c (CWE-124: Buffer Underwrite / CWE-125: Out-of-bounds Read). When parsing Emacs-style tags in the "second format" (where the tag name is not explicitly provided), the code scans backward from the 0x7f delimiter to isolate the tag name. If p_7f == lbuf (i.e., the delimiter is at the very beginning of the line), the pointer arithmetic p = p_7f - 1 produces a pointer that precedes the start of the heap-allocated buffer; the code then dereferences this pointer in a vim_iswordc() check before performing any bounds verification, triggering the out-of-bounds read. The fix, introduced in commit 9b7dfa2, adds a guard check (if (p_7f == lbuf) goto etag_fail;) before the backward scan (GitHub Commit, GitHub Advisory). A proof-of-concept crash artifact was provided by the reporters as part of responsible disclosure (Openwall).
Successful exploitation results in a 1-byte heap out-of-bounds read, which can cause Vim to crash (Denial of Service). There is also a low-impact risk of limited memory disclosure (confidentiality) and minor integrity impact, though the primary consequence is application instability. Because the underflow is read-only and limited to a single byte, the risk of arbitrary code execution is considered low; the vulnerability does not enable lateral movement or significant data exfiltration (GitHub Advisory, Openwall).
0x7f byte delimiter appears at the very beginning of a line (e.g., a line starting with \x7f followed by tag metadata), which triggers the second-format parsing path in emacs_tags_parse_line().tags option (e.g., :set tags=Xtags or by placing it as the default tags file in the working directory).:tag a in Vim, which causes emacs_tags_parse_line() to parse the malformed file and perform the out-of-bounds read.tags, TAGS, or custom names) in project directories, particularly those containing binary content or lines beginning with the 0x7f byte.E431 (no tags file) or segmentation faults in Vim process logs.:tag or Ctrl-] commands, especially when working with unfamiliar or externally provided codebases.Upgrade Vim to version 9.2.0075 or later, which includes the fix introduced in commit 9b7dfa2 (GitHub Release). Downstream distributions including Ubuntu (USN-8101-1), Fedora, Mageia, and Amazon Linux 2023 have released updated packages incorporating this fix. As a workaround, avoid opening or performing tag lookups against tags files from untrusted or external sources, and consider validating tags files for unexpected binary content (particularly 0x7f bytes at line starts) before use (Openwall).
The vulnerability was responsibly disclosed by Christian Brabandt (Vim maintainer) to the oss-security mailing list on February 27, 2026, with credit to researchers ehdgks0627 and un3xploitable for identifying the issue and providing a proof-of-concept (Openwall). Microsoft acknowledged the vulnerability through its Security Response Center advisory. Multiple Linux distributions (Ubuntu, Fedora, Mageia, Amazon Linux) issued security advisories and updated packages in the weeks following disclosure, reflecting standard patch propagation for a moderate-severity editor vulnerability.
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."