What’s Vulnerable › Vulnerabilities
CVE-2026-57454: Vim: Out-of-bounds Read with Text Properties
- Severity: medium (CVSS 6.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-06-25 · updated 2026-06-26
- Weakness: CWE-125
Description
Vim is an open source, command line text editor. From 9.2.0320 until 9.2.0679, a crafted undo or swap file can store a virtual-text property whose offset and length point outside the line's property data. When Vim restores or displays such a line it converts the offset into a pointer and reads the virtual text without bounds checking, causing an out-of-bounds read that can crash Vim or disclose adjacent heap memory. This vulnerability is fixed in 9.2.0679.
Affected products
- vim/vim: from 9.2.0320 before 9.2.0679 — fixed in 9.2.0679
How to fix
Upgrade to a fixed version: vim/vim 9.2.0679. Check the vendor advisory for mitigations.
References
- https://github.com/vim/vim/commit/b3faeecc976d3031d7c0675623516ec60c30f949
- https://github.com/vim/vim/releases/tag/v9.2.0679
- https://github.com/vim/vim/security/advisories/GHSA-ww8h-47xp-hp4w
Get alerted when CVE-2026-57454 or the next vulnerability affects your stack