CVE-2026-28422
Stack Buffer Overflow in Vim Statusline on Wide Terminals
Publication date: 2026-02-27
Last updated on: 2026-03-04
Assigner: GitHub, Inc.
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| vim | vim | to 9.2.0078 (exc) |
Helpful Resources
Exploitability
| 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 Powered Q&A
Can you explain this vulnerability to me?
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.
How can this vulnerability impact me? :
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.
How does this vulnerability affect compliance with common standards and regulations (like GDPR, HIPAA)?:
I don't know
How can this vulnerability be detected on my network or system? Can you suggest some commands?
I don't know
What immediate steps should I take to mitigate this vulnerability?
To mitigate this vulnerability, upgrade Vim to version 9.2.0078 or later, as this version patches the stack-buffer-overflow issue.