CVE-2026-57452 json
Vim: Out-of-bounds Read with libsodium-encrypted Files
published 2026-06-25 4 mo ago modified 2026-06-26 4 mo ago also EUVD-2026-39448
- cvss
- 5.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 6%
- public exploits
- 0
- none known
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! 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.
Patch / fix
- vim vim 9.2.0671
- vim Debian 13 2:9.1.1230-2+deb13u1
- vim Debian 14 2:9.2.0782-1
debian advisories DEBIAN-CVE-2026-57452
- vim Ubuntu 22.04 LTS 2:8.2.3995-1ubuntu2.33
- vim Ubuntu 24.04 LTS 2:9.1.0016-1ubuntu7.17
- vim Ubuntu 25.10 2:9.1.0967-1ubuntu6.8
- vim Ubuntu 26.04 LTS 2:9.1.2141-1ubuntu4.6
ubuntu advisories UBUNTU-CVE-2026-57452
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- vim hummingbird 1 9.2.725-1.hum1
- xxd hummingbird 1 9.2.725-1.hum1
- vim-X11 hummingbird 1 9.2.725-1.hum1
- vim-data hummingbird 1 9.2.725-1.hum1
- vim-common hummingbird 1 9.2.725-1.hum1
- vim-minimal hummingbird 1 9.2.725-1.hum1
- vim-enhanced hummingbird 1 9.2.725-1.hum1
- vim-filesystem hummingbird 1 9.2.725-1.hum1
red hat advisories RHSA-2026:30267
- vim Alpine 3.23 9.2.0854-r0
- vim Alpine 3.24 9.2.0677-r0
alpine advisories ALPINE-CVE-2026-57452
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-57452 updated cvss 4.7
vim: Vim: Out-of-bounds Read with libsodium-encrypted Files
-
Red Hat Enterprise Linux 6 vim, vim-X11, vim-common, vim-minimal, vim-enhanced, vim-filesystem Red Hat Enterprise Linux 7 vim, vim-X11, vim-common, vim-minimal, vim-enhanced, vim-filesystemaffected: workaround, no fix planned “Out of support scope”
-
Red Hat Enterprise Linux 9 vim, vim-X11, vim-common, vim-minimal, vim-enhanced, vim-filesystem Red Hat OpenShift Container Platform 4 openshift/ose-rhel-coreos-8, openshift/ose-rhel-coreos-9 Red Hat OpenShift Container Platform 5 openshift/ose-rhel-coreos-9affected: workaround, no fix available “Fix deferred”
-
Red Hat OpenShift AI (RHOAI) rhoai/odh-dashboard-rhel9under investigation
-
Red Hat Hardened Images vim 9.2.725-1.hum1, xxd 9.2.725-1.hum1, vim-X11 9.2.725-1.hum1, vim-data 9.2.725-1.hum1, vim-common 9.2.725-1.hum1, vim-minimal 9.2.725-1.hum1, +3 morefixed: vendor fix RHSA-2026:30267
-
Red Hat Enterprise Linux 8 vim, vim-X11, vim-common, vim-minimal, vim-enhanced, vim-filesystem Red Hat Enterprise Linux 10 vimnot affected: vulnerable code not in execute path
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 4 mo ago
Exploit prediction
0.17% chance of exploitation in the next 30 days, higher than 6% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
Affected products
- vim vim
Classification
References
Sources
- CVE List CVE-2026-57452
- NVD CVE-2026-57452
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.