[vim/vim] Crash reported in #19248 persists in vim 9.2: xchacha20v2 encrypted file causes vim crash upon attempted decryption (Issue #19425)

0 views
Skip to first unread message

smss2022

unread,
4:43 AM (5 hours ago) 4:43 AM
to vim/vim, Subscribed
smss2022 created an issue (vim/vim#19425)

Steps to reproduce

  1. Create UTF-8 text file containing random Unicode characters (ASCII printable, Latin-1 Supplement, Greek, Cyrillic)
  2. Open file in vim;
  3. :set cm=xchacha20v2
  4. :X
  5. Enter password
  6. Save file, close file
  7. Open file, enter password
  8. Vim crashes, no error message is logged into Event Log.

Expected behaviour

Vim opens and decrypts the encrypted file.
Attached files for your testing convenience.

plaintext.txt

encrypted.txt

Version of Vim

Vi IMproved 9.2 (2026 Feb 14, compiled Feb 14 2026 12:17:29)

Environment

Operating system: Microsoft Windows [Version 10.0.22631.6199]
Terminal: Powershell
PSVersion 5.1.22621.6133
PSEdition Desktop
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 10.0.22621.6133
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1

Logs and stack traces


Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issues/19425@github.com>

Reply all
Reply to author
Forward
0 new messages