{"id":"CVE-2026-57452","published":"2026-06-25T15:27:50Z","modified":"2026-06-25T15:47:18Z","title":"Vim: Out-of-bounds Read with libsodium-encrypted Files","vendor":"vim","product":"vim","tier":"tail","description":{"text":"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!\nmethod (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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0017,"percentile":0.03641,"provenance":"source"},"cwes":[{"id":"CWE-125","name":"Out-of-bounds Read"},{"id":"CWE-191","name":"Integer Underflow (Wrap or Wraparound)"}],"references":[{"url":"https://github.com/vim/vim/security/advisories/GHSA-c4j9-wr9j-4486","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/vim/vim/commit/c8777cec25dcfae89c42e9aff51af61f71c5745f","tags":["x_refsource_MISC"]},{"url":"https://github.com/vim/vim/releases/tag/v9.2.0671","tags":["x_refsource_MISC"]}],"priority":{"score":4.6,"factors":[{"name":"EPSS percentile","points":0.73},{"name":"CVSS severity","points":3.85}]},"vendorSlug":"vim","affectedVersions":[{"vendor":"vim","product":"vim","versions":["< 9.2.0671"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-06-25T15:47:10.061512Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-39448","exploited":false,"provenance":"source"}}