Back to overview

CVE-2026-57452

MEDIUM
5.5
CVSS 3.1
Description
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.

Metadata

CVE ID
CVE-2026-57452
State
PUBLISHED
Assigner
GitHub_M
Reserved
2026-06-24 13:21 UTC
Published
2026-06-25 15:27 UTC
Last updated
2026-06-25 15:47 UTC
Primary CWE
CWE-125
CWE-125: Out-of-bounds Read
Vendor / Product
vim / vim
Sources
cve.org  ·  NVD

Severity & Metrics

5.5 MEDIUM CVSS 3.1
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
SSVC — CISA Coordinator
Exploitation
none
Automatable
no
Tech. Impact
partial
Affected products (1)
VendorProductPlatformVersions
vim vim < 9.2.0671
Weakness (CWE)
CWESourceDescription
CWE-125 cna CWE-125: Out-of-bounds Read
CWE-191 cna CWE-191: Integer Underflow (Wrap or Wraparound)
CVSS scores (1)
ScoreSeverityVersionSourceVector
5.5 MEDIUM 3.1 cna CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
References (3)
Back to overview