A high-severity integer overflow vulnerability exists in Krita's PSB file parsing functionality. This flaw allows remote attackers to execute arbitrary code if a user opens a crafted malicious PSB file or visits a malicious page. The vulnerability arises from improper validation of user-supplied data leading to an integer overflow before buffer allocation.