{"id":"CVE-2026-57452","aliases":["CVE-2026-57452"],"related":[],"kind":"vulnerability","state":"published","title":"Vim: Out-of-bounds Read with libsodium-encrypted Files","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"}],"published":"2026-06-25T15:27:50.147Z","modified":"2026-06-26T04:12:32.483Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-125","CWE-191"],"affected":[{"ranges":[{"version":"< 9.2.0671","status":"affected"}],"vendor":"vim","product":"vim","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"9.2.0671"}],"vendor":"vim","product":"vim","cpe":"cpe:2.3:a:vim:vim:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/vim/vim/security/advisories/GHSA-c4j9-wr9j-4486","tags":["vendor-advisory","x-refsource-confirm"],"sources":["cvelist","nvd"]},{"url":"https://github.com/vim/vim/commit/c8777cec25dcfae89c42e9aff51af61f71c5745f","tags":["patch","x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/vim/vim/releases/tag/v9.2.0671","tags":["product","x-refsource-misc"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-06-25T15:47:10.061Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-57452","url":"https://www.cve.org/CVERecord?id=CVE-2026-57452","licence":"CVE Terms of Use","modified":"2026-06-25T15:47:18.346Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-57452","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-57452","licence":"Public domain","modified":"2026-06-26T04:12:32.483Z"}],"updatedAt":"2026-11-25T22:59:26.380Z","epss":{"score":0.00118,"percentile":0.01882,"date":"2026-12-01T12:00:22.000Z"}}