CVE-2026-57452
JSON

5.5medium

Vim: Out-of-bounds Read with libsodium-encrypted Files

Severity
5.5medium CVSS:3.1 by GitHub_M
Exploit likelihood
0.12% (higher than 1% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M

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.

Affected

Product or packageVersionsReported by
vim vim< 9.2.0671, before 9.2.0671CVE List, NVD

Classification

CWE-125CWE-191

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-57452 changed 2026-06-25CVE Terms of Use
NVDCVE-2026-57452 changed 2026-06-26Public domain