---
title: "CVE-2026-57452"
canonical_url: "https://pkgseek.com/security/CVE-2026-57452"
locale: "en"
source: "pkgseek"
entity_type: "cve"
severity: "medium"
---

# CVE-2026-57452

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.

CVE-2026-57452 is rated MEDIUM (5.5), with 12 indexed affected package builds across 1 distributions.

- **Severity / Score**: MEDIUM (5.5)
- **Affected builds**: 12
- **Affected distros**: 1
- **Distros with fixed_in**: None recorded in sample

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| Ubuntu | jammy | vim | 2:8.2.3995-1ubuntu2 | — |
| Ubuntu | jammy | vim-common | 2:8.2.3995-1ubuntu2 | — |
| Ubuntu | jammy | vim-doc | 2:8.2.3995-1ubuntu2 | — |
| Ubuntu | jammy | vim-runtime | 2:8.2.3995-1ubuntu2 | — |
| Ubuntu | jammy | vim-tiny | 2:8.2.3995-1ubuntu2 | — |
| Ubuntu | jammy | xxd | 2:8.2.3995-1ubuntu2 | — |
| Ubuntu | noble | vim | 2:9.1.0016-1ubuntu7 | — |
| Ubuntu | noble | vim-common | 2:9.1.0016-1ubuntu7 | — |
| Ubuntu | noble | vim-doc | 2:9.1.0016-1ubuntu7 | — |
| Ubuntu | noble | vim-runtime | 2:9.1.0016-1ubuntu7 | — |
| Ubuntu | noble | vim-tiny | 2:9.1.0016-1ubuntu7 | — |
| Ubuntu | noble | xxd | 2:9.1.0016-1ubuntu7 | — |
