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-05-07
AI Q&A
2026-02-28
EPSS Evaluated
2026-05-05
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 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.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart