VYPR
advisoryPublished Nov 18, 2026· Updated Nov 21, 2026· 3 sources

Zero Day Initiative Discloses Krita Heap-Based Buffer Overflow Vulnerability

A heap-based buffer overflow in Krita's ABR file parsing allows remote attackers to execute arbitrary code on affected systems.

The Zero Day Initiative (ZDI) has disclosed a critical heap-based buffer overflow vulnerability, tracked as ZDI-26-1011, affecting the popular open-source digital painting application Krita. This flaw allows remote attackers to achieve arbitrary code execution on vulnerable installations.

The vulnerability stems from improper validation of user-supplied data within Krita's ABR (Adobe Brush Resource) file parsing mechanism. Specifically, the application fails to correctly check the length of data before copying it into a heap-based buffer. This oversight can be exploited by an attacker who crafts a malicious ABR file.

To trigger the vulnerability, an attacker must trick a user into opening this specially crafted ABR file. This could be achieved by distributing the malicious file directly or by hosting it on a webpage that the user visits. Once the file is opened by an unsuspecting user running a vulnerable version of Krita, the buffer overflow can be triggered, potentially leading to the execution of arbitrary code in the context of the current process.

The CVSS score for this vulnerability is rated at 7.8, indicating a high severity. While user interaction is required, the potential for remote code execution makes this a significant threat to Krita users. The vulnerability was initially reported to the vendor on February 6, 2026, with ZDI intending to publish the advisory as a 0-day disclosure on November 18, 2026, after the vendor did not provide updates.

Given the nature of the vulnerability, which relies on the user opening a malicious file, the primary mitigation strategy recommended is to restrict interaction with untrusted or unexpected ABR files. Users should exercise caution and only open brush files from trusted sources. As this is a newly disclosed vulnerability, users are strongly advised to update Krita to the latest available version once a patch is released by the developers.

This disclosure highlights the ongoing risks associated with complex file parsing in widely used creative software. Vulnerabilities in such formats can be particularly dangerous as they often require only a single user action to be exploited, making them attractive targets for attackers seeking to compromise systems for various malicious purposes, including data theft or further network intrusion.

This advisory (ZDI-26-1018) details a heap-based buffer overflow vulnerability within Krita's TIF file parsing, distinct from the ABR file parsing flaw previously reported. The vulnerability requires user interaction, such as opening a malicious file or visiting a malicious webpage, to achieve remote code execution in the context of the current process. The disclosure timeline indicates the vulnerability was reported in December 2025 and is being published as a 0-day advisory in November 2026.

This advisory details a heap-based buffer overflow vulnerability in Krita's JC2 file parsing, distinct from the previously reported ABR file parsing flaw. Successful exploitation of ZDI-26-1010 allows remote attackers to execute arbitrary code on vulnerable systems, requiring user interaction to open a malicious file or visit a compromised webpage. The vulnerability has a CVSS score of 7.8 and stems from the use of a vulnerable version of openjpeg.

Synthesized by Vypr AI