A heap-based buffer overflow vulnerability exists in Krita's JC2 file parsing due to a vulnerable version of openjpeg. This flaw allows remote attackers to execute arbitrary code if a user opens a crafted malicious file or visits a malicious page. Exploitation requires user interaction. The vulnerability is assigned CVE-2026-134035 and has a high severity score of 7.8.