VYPR
advisoryPublished Nov 18, 2026· Updated Nov 21, 2026· 1 source

Zero-Day Vulnerability in Krita Allows Remote Code Execution via PSB File Parsing

A critical remote code execution vulnerability (ZDI-26-1013) has been disclosed in the popular open-source painting application Krita, stemming from a flaw in its PSB file parsing component.

The Zero Day Initiative (ZDI) has publicly disclosed a critical remote code execution (RCE) vulnerability affecting the widely-used open-source digital painting application, Krita. Tracked as ZDI-26-1013, the flaw resides within the application's handling of the PictureStar file format (PSB), a format often used for large image files.

Exploitation of this vulnerability requires user interaction, meaning an attacker must trick a victim into opening a specially crafted malicious PSB file or visiting a compromised webpage that triggers the vulnerability. Once exploited, an attacker can execute arbitrary code on the affected system within the context of the current Krita process. The vulnerability has been assigned a CVSS score of 7.8, indicating a high severity.

The root cause of the vulnerability is an integer overflow that occurs during the parsing of PSB files. Specifically, Krita fails to properly validate user-supplied data before allocating memory buffers. This oversight allows an attacker to provide input that leads to an integer overflow, which can then be leveraged to overwrite memory and achieve code execution.

ZDI initially reported the vulnerability to the vendor on February 6, 2026. After several follow-ups, including a notification on November 3, 2026, indicating the intention to publish the advisory as a zero-day, the coordinated public release was made on November 18, 2026. The advisory was updated on the same day.

Given the nature of the vulnerability, which relies on the processing of malicious files or web content, the primary mitigation strategy recommended by ZDI is to restrict user interaction with untrusted PSB files or potentially malicious websites that might leverage this flaw. As this is a zero-day disclosure, immediate patching information from the vendor may not yet be available, underscoring the importance of user caution.

This disclosure highlights a recurring pattern of vulnerabilities found in complex file parsing libraries across various software applications. Developers must prioritize robust input validation and secure memory management practices to prevent such flaws from being exploited. Users of Krita are advised to remain vigilant and apply any available security updates as soon as they are released by the Krita project.

Synthesized by Vypr AI