# CVE-2026-57452: Vim: Out-of-bounds Read with libsodium-encrypted Files

- Priority: **Routine**
- Reason: Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-06-25 · Modified: 2026-06-25
- Aliases: ALPINE-CVE-2026-57452, UBUNTU-CVE-2026-57452, DEBIAN-CVE-2026-57452
- Record: https://cvemate.com/vulnerability/CVE-2026-57452 · JSON: https://cvemate.com/vulnerability/CVE-2026-57452/json

## 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!
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.
```

## Signals

- CVSS: 5.5 medium (v3.1, CVE.org) CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- EPSS: 0.118%, percentile 1.864%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- alpine vim (Alpine Linux): \< 9.2.0854-r0 \| \< 9.2.0677-r0
- debian vim (Debian): All versions (No fix recorded) \| \< 2:9.1.1230-2+deb13u1 \| \< 2:9.2.0782-1
- ubuntu vim (Ubuntu): \< 2:8.2.3995-1ubuntu2.33 \| \< 2:9.1.0016-1ubuntu7.17 \| \< 2:9.1.0967-1ubuntu6.8 \| \< 2:9.1.2141-1ubuntu4.6
- vim vim: \< 9.2.0671

## References

- <https://github.com/vim/vim/security/advisories/GHSA-c4j9-wr9j-4486>
- <https://github.com/vim/vim/commit/c8777cec25dcfae89c42e9aff51af61f71c5745f>
- <https://github.com/vim/vim/releases/tag/v9.2.0671>
- <https://security.alpinelinux.org/vuln/CVE-2026-57452>
- <https://ubuntu.com/security/CVE-2026-57452>
- <https://www.cve.org/CVERecord?id=CVE-2026-57452>
- <https://ubuntu.com/security/notices/USN-8500-1>
- <https://security-tracker.debian.org/tracker/CVE-2026-57452>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-57452>

---

Data as of 2026-12-05T05:32:11.519Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
