Libreoffice broke after updating to Ubuntu 21.10

You have to run a full (re)installation of LibreOffice using deb-packages from official Ubuntu repositories by using the following command:

sudo apt-get update
sudo apt-get install --reinstall libreoffice

As a final remediation you can clear its config folder by

rm -rfv ~/.config/libreoffice