CVE-2026-57454
MEDIUM
6.8
CVSS 4.0
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.
Metadata
Severity & Metrics
6.8
MEDIUM CVSS 4.0
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N
Affected products (1)
| Vendor | Product | Platform | Versions |
|---|---|---|---|
| vim | vim | — | >= 9.2.0320, < 9.2.0679 |
Weakness (CWE)
| CWE | Source | Description |
|---|---|---|
| CWE-125 | cna | CWE-125: Out-of-bounds Read |
CVSS scores (1)
| Score | Severity | Version | Source | Vector |
|---|---|---|---|---|
| 6.8 | MEDIUM | 4.0 | cna | CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N |
References (3)
- https://github.com/vim/vim/security/advisories/GHSA-ww8h-47xp-hp4w https://github.com/vim/vim/security/advisories/GHSA-ww8h-47xp-hp4w
- https://github.com/vim/vim/commit/b3faeecc976d3031d7c0675623516ec60c30f949 https://github.com/vim/vim/commit/b3faeecc976d3031d7c0675623516ec60c30f949
- https://github.com/vim/vim/releases/tag/v9.2.0679 https://github.com/vim/vim/releases/tag/v9.2.0679