Krita PSB File Parsing Integer Overflow Enables Remote Code Execution (CVE‑2026‑XXXX)
What Happened —
The Zero Day Initiative (ZDI) disclosed a critical integer‑overflow flaw in the way Krita parses its native PSB (Krita Document) files. The vulnerability (CVE‑2026‑XXXX) receives a CVSS 7.8 (AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H) rating, indicating a high‑severity remote code execution (RCE) vector that requires user interaction. An attacker who convinces a victim to open a crafted PSB file—or to view a malicious web page that triggers automatic PSB parsing—can cause an integer overflow during buffer allocation. The overflow lets the attacker write beyond the intended memory region, ultimately executing arbitrary code in the context of the Krita process.
The advisory’s timeline shows a classic coordinated disclosure: ZDI reported the issue to the Krita development team on 02 February 2026 (ZDI‑26‑1013). Follow‑up queries were sent on 22 June 2026, and on 03 November 2026 ZDI warned the vendor that the advisory would be published as a 0‑day. The public advisory and an updated advisory were both released on 18 November 2026. No public patch was available at the time of publication; the vendor’s mitigation guidance is limited to “restrict interaction with the product,” i.e., avoid opening untrusted PSB files.
Krita is a free, open‑source digital painting application used by graphic designers, illustrators, and animation studios worldwide. Because it is often installed on workstations that also handle proprietary artwork, a successful exploit could give an adversary the same privileges as the user running Krita, potentially exposing source files, credentials stored on the machine, or enabling lateral movement within a corporate network.
Why It Matters for Trust & Control Assurance —
The flaw underscores the need for robust secure‑development and vulnerability‑management controls, which map to a single Verisq Common Framework (VCF) objective covering application security and patch lifecycle assurance.
Who Is Affected —
- Creative‑industry firms (media, advertising, game development) that deploy Krita on employee workstations.
- Individual artists and freelancers using Krita on personal devices.
- Any organization that permits the opening of untrusted files on shared or hardened endpoints.
Recommended Actions
- Isolate Krita – Apply application‑allowlist policies to restrict execution to vetted binaries and block opening of PSB files from untrusted sources.
- Patch Management – Monitor Krita’s release channels for an official fix; prioritize deployment as soon as it becomes available.
- Secure Development Review – If you develop plugins or extensions for Krita, audit file‑parsing code for proper integer‑size checks and bounds validation.
- Endpoint Hardening – Enable OS‑level mitigations (DEP, ASLR, Control Flow Guard) to reduce exploitability.
- User Awareness – Train staff to treat unexpected PSB files as suspicious, especially when received via email or downloaded from the web.
Source: Zero Day Initiative advisory
Technical Notes
- Attack Vector – Exploits the PSB file parser; requires user interaction (UI:R) but can be triggered by merely opening a malicious file.
- Root Cause – Lack of integer overflow checks before buffer allocation leads to memory corruption.
- Impact – Arbitrary code execution with the same privileges as the logged‑in user; potential for data exfiltration or further compromise.
- Mitigation – No vendor‑issued patch at time of advisory; temporary mitigation is to avoid opening untrusted PSB files and to enforce strict application control policies.
Source: ZDI advisory