Relates to MC-308731
As the player is unable to damage an absorbed sulfur cube, and a sulfur cube has a hitbox wide enough, being in the same 1*1 hole with a sulfur cube soft locks the player, making them unable to mine any blocks and only hit the sulfur cube, which does nothing.
The issue can occur only when a sulfur cube has already absorbed a block.
An attached video shows how to reproduce the issue.
Thank you for helping us improve Minecraft! We saved your files: