A use-after-free possible.
Upstream fix :
https://github.com/vim/vim/commit/143367256836b0f69881dc0c65ff165ae091dbc5 (additional required fix)
Created vim tracking bugs for this issue:
Affects: fedora-all [bug 2039845]
Vim versions prior to 8.2 do not seem to be vulnerable to this flaw
The flaw was introduced in v8.2.3902. Older versions are not impacted by this flaw.