In KDE Krita before 5.2.13, loading a manipulated TGA file could result in a heap-based buffer overflow in plugins/impex/tga/kis_tga_import.cpp (aka KisTgaImport)
Affects kritaSource GCVE Database
Not known to be exploited · CVSS 6.7 Medium.
Data as of 24 Nov 2026, 20:10 UTC
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:H/A:NExploitation evidence
Disclosed: evidence found.
CVE published 26 Nov 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 23 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 24.04 LTSkritapkg:deb/ubuntu/krita?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTSkritapkg:deb/ubuntu/krita?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Ubuntu 20.04 LTSkritapkg:deb/ubuntu/krita?arch=source&distro=focalOther threats | Affected
| Fixed in– |
Ubuntu 18.04 LTSkritapkg:deb/ubuntu/krita?arch=source&distro=bionicOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
In KDE Krita before 5.2.13, loading a manipulated TGA file could result in a heap-based buffer overflow in plugins/impex/tga/kis_tga_import.cpp (aka KisTgaImport). Control flow proceeds even when a number of pixels becomes negative.
References
- ubuntu.com/security/CVE-2025-59820 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2025-59820 (opens in a new tab)
- kde.org/info/security/advisory-20250929-1.txt (opens in a new tab)
- invent.kde.org/graphics/krita/ (opens in a new tab)
- invent.kde.org/graphics/krita/-/commit/6d3651ac4df88efb68e013d21061de9846e83fe8 (opens in a new tab)