@root There are often vulnerabilities in imaging libraries which can give you privilege escalation. First iPhones were hacked by a specially formed jpeg file, same with Nintendo DSi.
And XP still has an unpatched bug like that, it was found after it went out of support so MS just advises you to turn off thumbnails in file explorer 🤷