WhatCyber / Vulnerabilities / CVE-2026-57452
CVE-2026-57452: vim
MEDIUM severity
CVE-2026-57452 affects vim. It is not currently listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Its CVSS base score is 5.5 (medium). The EPSS model puts the chance of exploitation in the next 30 days at 0.2%.
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.
Key facts
- CVSS v3
- 5.5 (MEDIUM)
- CVSS vector
- CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- Published
- 2026-06-25
- Last modified
- 2026-06-26
- NVD status
- Analyzed
Timeline
- June 25, 2026: Published in the NVD
Weaknesses (CWE)
Affected products
- vim vim
References
- https://github.com/vim/vim/commit/c8777cec25dcfae89c42e9aff51af61f71c5745f
- https://github.com/vim/vim/releases/tag/v9.2.0671
- https://github.com/vim/vim/security/advisories/GHSA-c4j9-wr9j-4486