Zero-Day Vulnerability in Krita Allows Remote Code Execution via ASL File Parsing
A critical remote code execution vulnerability (ZDI-26-1012) has been disclosed in the popular open-source painting application Krita, stemming from a flaw in its ASL file parsing component.

A critical remote code execution vulnerability, identified as ZDI-26-1012, has been disclosed in the widely-used open-source digital painting application Krita. This flaw resides within the application's handling of ASL (Adobe Swatch Exchange) files, a format used for storing color palettes.
The vulnerability allows remote attackers to execute arbitrary code on affected installations of Krita. Exploitation requires user interaction, meaning a target user must be tricked into opening a specially crafted ASL file or visiting a malicious webpage that triggers the parsing of such a file. Once triggered, the flaw can lead to the execution of malicious code within the context of the current Krita process.
At the heart of the issue is an integer overflow that occurs during the parsing of ASL files. This overflow happens because the application fails to properly validate user-supplied data before allocating memory buffers. An attacker can leverage this integer overflow to overwrite memory, ultimately enabling them to execute arbitrary code on the victim's system.
The Zero Day Initiative (ZDI) reported the vulnerability to the vendor on February 6, 2026. After follow-ups and notifications regarding the intention to publish as a zero-day advisory, the coordinated public release of the advisory occurred on November 18, 2026. The advisory was updated on the same day.
With a CVSS score of 7.8, this vulnerability is rated as high severity. The specific nature of the flaw, involving file parsing and integer overflows, is a common vector for remote code execution. Attackers often craft malicious files that, when opened by unsuspecting users, trigger these vulnerabilities.
Given the nature of the vulnerability, which requires user interaction through opening a malicious file or visiting a compromised webpage, the primary mitigation strategy recommended is to restrict interaction with untrusted files and sources. Users should exercise caution and ensure their Krita installations are updated once patches become available.
This disclosure highlights the ongoing security challenges faced by open-source software, even those with robust development communities. Vulnerabilities in file parsing libraries are a persistent threat, as they can be exploited across a wide range of applications that utilize these common formats.
While no specific patch information is detailed in the advisory, the vendor has been notified, and users are advised to stay informed about potential updates from the Krita project to address this critical security flaw.