CVE 5.5 MEDIUM

Vim: Out-of-bounds Read with libsodium-encrypted Files_CVE-2026-57452

5.5 / 10
MEDIUM
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Description

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.

Basic Information

ID CVE-2026-57452
Source GitHub_M
Published Jun 25, 2026 at 15:27

Affected Product

Vendor vim
Product vim
Version < 9.2.0671
Affected Versions vim vim < 9.2.0671

CWE Classification

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.