CVE-2026-28422
Received Received - Intake
Stack Buffer Overflow in Vim Statusline on Wide Terminals

Publication date: 2026-02-27

Last updated on: 2026-03-04

Assigner: GitHub, Inc.

Description
Vim is an open source, command line text editor. Prior to version 9.2.0078, a stack-buffer-overflow occurs in `build_stl_str_hl()` when rendering a statusline with a multi-byte fill character on a very wide terminal. Version 9.2.0078 patches the issue.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-02-27
Last Modified
2026-03-04
Generated
2026-06-16
AI Q&A
2026-02-28
EPSS Evaluated
2026-06-15
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
vim vim to 9.2.0078 (exc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-121 A stack-based buffer overflow condition is a condition where the buffer being overwritten is allocated on the stack (i.e., is a local variable or, rarely, a parameter to a function).
Attack-Flow Graph
AI Quick Actions
Instant insights powered by AI
Executive Summary

This vulnerability is a stack-buffer-overflow in the Vim text editor that occurs in the function build_stl_str_hl() when rendering a statusline with a multi-byte fill character on a very wide terminal. It affects versions prior to 9.2.0078 and is fixed in version 9.2.0078.

Impact Analysis

The vulnerability has a low severity score (CVSS 2.2) and requires local access with high attack complexity and low privileges. It can lead to limited integrity impact but does not affect confidentiality or availability. This means an attacker with local access might be able to cause some unintended behavior or minor data corruption within Vim, but it is unlikely to cause serious damage or system compromise.

Compliance Impact

I don't know

Detection Guidance

I don't know

Mitigation Strategies

To mitigate this vulnerability, upgrade Vim to version 9.2.0078 or later, as this version patches the stack-buffer-overflow issue.

Chat Assistant
Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-28422. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70
EPSS Chart