Incorrect Calculation of Buffer Size in Vim - #VU145884
Published: August 27, 2026
Vulnerability details
The vulnerability allows a remote attacker to cause a denial of service.
The vulnerability exists due to an incorrect calculation of buffer size in unserialize_uep() in src/undo.c when reading a crafted persistent undo file. A remote attacker can supply a specially crafted undo file to cause a denial of service.
Only 32-bit builds are vulnerable. The issue can be triggered either explicitly with :rundo or automatically when the 'undofile' option is enabled and a matching undo file is found for the edited file.