Krita HEIC Parsing Heap‑Based Buffer Overflow Enables Remote Code Execution (CVE‑2026‑XXXX)
What Happened – The Zero Day Initiative (ZDI) disclosed a critical heap‑based buffer overflow in the open‑source graphics editor Krita (CVE‑2026‑XXXX). The flaw resides in the library libde265, which Krita uses to decode HEIC images. When a crafted HEIC file is opened—or when a malicious page forces the browser to render such a file—the vulnerable code can overrun a heap buffer, allowing an attacker to execute arbitrary code in the context of the Krita process.
The vulnerability received a CVSS v3.1 base score of 7.8 (High) with the vector AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H, indicating that local access is required but no privileges are needed, and user interaction is the only trigger. ZDI reported the issue to the Krita maintainers on 24 Dec 2025; the vendor acknowledged receipt on 27 Dec 2025. Follow‑up requests for status were sent on 9 Apr 2026 and 22 Jun 2026. After a year of silence, ZDI announced its intention to publish a 0‑day advisory on 3 Nov 2026, and the coordinated public release occurred on 18 Nov 2026.
Krita is a widely adopted raster graphics editor used by digital artists, illustrators, and design studios across the creative industry. Because the application runs on Windows, macOS, and Linux, the vulnerability potentially affects a broad user base. The advisory notes that no public exploit has been observed, but the presence of a remote code execution (RCE) path makes the flaw attractive to opportunistic attackers who can distribute malicious HEIC files via email, file‑sharing services, or compromised websites.
The advisory does not list a vendor‑provided patch at the time of publication. The only mitigation suggested is to restrict interaction with untrusted HEIC files—e.g., avoid opening files from unknown sources, disable automatic preview in file managers, and consider temporarily disabling HEIC support in Krita until a fix is released.
Krita’s development model is community‑driven, with contributions managed through public repositories. The libde265 component is an external dependency, and the advisory highlights the risk of third‑party library vulnerabilities propagating into downstream applications.
Security researchers who examined the issue reported that the overflow occurs during the parsing of the “image size” field, where the library fails to validate the length before copying data into a fixed‑size heap buffer. Exploitation requires a crafted HEIC payload that triggers the overflow and injects a ROP chain or shellcode. Because the exploit runs in the user’s context, it can lead to full control of the desktop session, access to local files, and potential lateral movement if the user has elevated privileges.
The Krita community responded with a public statement acknowledging the advisory and promising an upcoming release that updates libde265 to a patched version. In the meantime, maintainers have updated the project’s issue tracker with a temporary workaround: users can configure Krita to disable HEIC import via the application settings.
Why It Matters for Trust & Control Assurance – This incident underscores the need for a robust vulnerability‑management control that tracks third‑party components, validates patches, and provides auditable evidence of remediation.
Who Is Affected – Creative‑software vendors, digital‑art studios, freelance designers, and any organization that permits Krita on employee workstations.
Recommended Actions
- Inventory all endpoints that have Krita installed and verify the libde265 version.
- Apply the temporary mitigation: disable HEIC import or block HEIC files at the gateway.
- Monitor vendor channels for a patched libde265 release and apply it promptly.
- Document the remediation steps in your vulnerability‑management system to satisfy audit requirements.
- Incorporate third‑party library scanning into your secure‑development lifecycle to catch similar issues early.
Technical Notes –
- Attack vector: Vulnerability exploit via malicious HEIC file (user‑initiated).
- CVSS 7.8 (AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H).
- Affected component: libde265 HEIC decoder used by Krita.
- Impact: Remote code execution with full user‑level privileges; potential for data exfiltration or lateral movement.
- Mitigation: Restrict HEIC file interaction; await vendor patch.
Source: Zero Day Initiative advisory