Zero‑Day Heap Buffer Overflow in Krita’s JC2 File Parser Enables Remote Code Execution (CVSS 7.8)
What Happened — The Zero Day Initiative (ZDI) disclosed a critical heap‑based buffer overflow (CVE pending) in Krita’s JC2 file‑parsing routine. The flaw lives in the bundled openjpeg library; when Krita processes a crafted JC2 image, an attacker can overwrite heap memory and execute arbitrary code in the context of the running application. Exploitation requires user interaction – the victim must open a malicious file or view a malicious web page that triggers the parser.
The vulnerability was first reported to the Krita development team on 24 Dec 2025. The vendor acknowledged receipt on 27 Dec 2025, but no public patch was released before ZDI’s coordinated advisory on 18 Nov 2026. Follow‑up requests for status updates were sent on 9 Apr 2026 and 22 Jun 2026, with no substantive remediation disclosed.
Because Krita is a free, cross‑platform digital‑painting application used by artists, designers, and media houses, the flaw potentially affects any workstation where the software is installed and where users may open image files from untrusted sources. The advisory rates the vulnerability CVSS 7.8 (High) with a vector of AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H, indicating that while the attacker must be local or have network proximity, the impact on confidentiality, integrity, and availability is severe once the malicious file is opened.
Krita’s maintainers have not yet issued a fix. The only mitigation suggested by ZDI is to restrict interaction with the product – i.e., avoid opening untrusted JC2 files, disable the JC2 import feature where possible, and consider temporary removal of the vulnerable openjpeg component until a patch is available.
The advisory also notes that the vulnerability was publicly disclosed on the same day as the advisory (18 Nov 2026), giving threat actors immediate knowledge of the exploit. No evidence of active exploitation in the wild has been reported, but the public nature of the advisory raises the likelihood of opportunistic attacks.
Why It Matters for Trust & Control Assurance — This case underscores the need for continuous vulnerability monitoring and evidence of timely remediation to satisfy control objectives around secure software configuration.
Who Is Affected — Media & Entertainment firms, design studios, educational institutions, and any organization that deploys Krita on employee workstations.
Recommended Actions
- Verify the version of Krita (and its bundled openjpeg library) on all endpoints.
- If a patched release is unavailable, disable JC2 file handling or block the file type via endpoint policies.
- Integrate the vulnerability into your organization’s vulnerability‑management workflow and capture remediation evidence for audit readiness.
- Monitor ZDI, CVE databases, and Krita’s release channels for a forthcoming patch.
Technical Notes
- Attack vector: Exploitation of a heap‑based buffer overflow in the openjpeg library invoked by Krita’s JC2 parser.
- CVSS 7.8 (AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H).
- User interaction required – malicious file must be opened or rendered.
- No public CVE identifier yet; ZDI IDs are ZDI‑26‑1010 and ZDI‑CAN‑28646.
- No known active exploitation, but the advisory’s public release creates immediate risk.