CVE-2026-57454

Severity CVSS v4.0:
MEDIUM
Type:
CWE-125 Out-of-bounds Read
Publication date:
25/06/2026
Last modified:
26/06/2026

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.

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:vim:vim:*:*:*:*:*:*:*:* 9.2.0320 (including) 9.2.0679 (excluding)