CVE Explorer
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.
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
1
Preserved source conflicts
No provider value was silently selected as the winner.
cwe · 2 assertions
{"cweId":"CWE-191","description":"CWE-191: Integer Underflow (Wrap or Wraparound)","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:e4105b3a7176e77cad124fbfa9bd5ab0a4df984776b02f6ce9aa83e528b9e521 · sha256:a8a8c751a143b8a1… · /containers/cna/problemTypes/1/descriptions/0
{"cweId":"CWE-125","description":"CWE-125: Out-of-bounds Read","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:e4105b3a7176e77cad124fbfa9bd5ab0a4df984776b02f6ce9aa83e528b9e521 · sha256:a8a8c751a143b8a1… · /containers/cna/problemTypes/0/descriptions/0
Affected products and versions
1 source assertion{"product":"vim","vendor":"vim","versions":[{"status":"affected","version":"< 9.2.0671"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:e4105b3a7176e77cad124fbfa9bd5ab0a4df984776b02f6ce9aa83e528b9e521 · sha256:a8a8c751a143b8a1… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"HIGH","baseScore":5.5,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:e4105b3a7176e77cad124fbfa9bd5ab0a4df984776b02f6ce9aa83e528b9e521 · sha256:a8a8c751a143b8a1… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
2 source assertions{"cweId":"CWE-191","description":"CWE-191: Integer Underflow (Wrap or Wraparound)","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:e4105b3a7176e77cad124fbfa9bd5ab0a4df984776b02f6ce9aa83e528b9e521 · sha256:a8a8c751a143b8a1… · /containers/cna/problemTypes/1/descriptions/0
{"cweId":"CWE-125","description":"CWE-125: Out-of-bounds Read","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:e4105b3a7176e77cad124fbfa9bd5ab0a4df984776b02f6ce9aa83e528b9e521 · sha256:a8a8c751a143b8a1… · /containers/cna/problemTypes/0/descriptions/0
Source references
3 source assertions{"name":"https://github.com/vim/vim/commit/c8777cec25dcfae89c42e9aff51af61f71c5745f","tags":["x_refsource_MISC"],"url":"https://github.com/vim/vim/commit/c8777cec25dcfae89c42e9aff51af61f71c5745f"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:e4105b3a7176e77cad124fbfa9bd5ab0a4df984776b02f6ce9aa83e528b9e521 · sha256:a8a8c751a143b8a1… · /containers/cna/references/1
{"name":"https://github.com/vim/vim/releases/tag/v9.2.0671","tags":["x_refsource_MISC"],"url":"https://github.com/vim/vim/releases/tag/v9.2.0671"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:e4105b3a7176e77cad124fbfa9bd5ab0a4df984776b02f6ce9aa83e528b9e521 · sha256:a8a8c751a143b8a1… · /containers/cna/references/2
{"name":"https://github.com/vim/vim/security/advisories/GHSA-c4j9-wr9j-4486","tags":["x_refsource_CONFIRM"],"url":"https://github.com/vim/vim/security/advisories/GHSA-c4j9-wr9j-4486"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:e4105b3a7176e77cad124fbfa9bd5ab0a4df984776b02f6ce9aa83e528b9e521 · sha256:a8a8c751a143b8a1… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.