https://github.com/lxc/lxd/pull/8579 is the fix for this issue (and contains the full explanation of what happened).
Please note that anyone affected may still get re-affected by this until the bugfix is made available to all snap users! It will not hit you until 10 days since you last used a particular image, I intend to roll out the fix for this tomorrow to all stable users.