CVE-2026-57452

MEDIUM CVSS 3.1: 5.5 EPSS 0.17%
Updated Jun 26, 2026
Vim
Parameter Value
CVSS 5.5 (MEDIUM)
Affected Versions before 9.2.0671
Fixed In 9.2.0671
Type CWE-191 (Integer Underflow), CWE-125 (Out-of-bounds Read)
Vendor Vim
Public PoC No

Vim is an open source, command line text editor. Prior to 9.2.0671, when Vim opens a file encrypted with the VimCrypt~04! or VimCrypt~05! method (xchacha20poly1305, requires the +sodium feature) whose body is shorter than a single libsodium secretstream header, an unsigned length calculation underflows and a subsequent decryption call reads far past the end of the input buffer, crashing Vim. This vulnerability is fixed in 9.2.0671.

Attack Parameters

Attack Vector
Local
Requires local access
Attack Complexity
Low
Easy to exploit
Privileges Required
None
No privileges needed
User Interaction
Required
User action required

Impact Assessment

Confidentiality
None
No data leak
Integrity
None
No data modification
Availability
High
Complete denial of service

CVSS Vector v3.1

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Vim Vim
cpe:2.3:a:vim:vim:*:*:*:*:*:*:*:*
— 9.2.0671