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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| KDE | Krita | < 5.2.13 | 5.2.13 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | krita | 1:5.2.13+dfsg-1 | — |
| Debian 13 | krita | 1:5.2.9+dfsg-1+deb13u1 | DSA-6065-1 |
| Debian 12 | krita | 1:5.1.5+dfsg-2+deb12u1 | DSA-6065-1 |
| Debian 11 | krita | 1:4.4.2+dfsg-1+deb11u1 | DLA-4395-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 24.04 LTS | krita | No fix yet | — |
| Ubuntu 22.04 LTS | krita | No fix yet | — |
| Ubuntu 20.04 LTS | krita | No fix yet | — |
| Ubuntu 18.04 LTS | krita | No fix yet | — |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | krita | 5.2.13-1.1 | openSUSE-SU-2025:15577-1 |
Advisories 3
- openSUSE-SU-2025:15577-1 krita-5.2.13-1.1 on GA media SUSE / openSUSE Security Updates · Mar 23, 2026
- DLA-4395-1 krita - security update Debian Security (DSA / DLA) · Dec 5, 2025
- DSA-6065-1 krita - security update Debian Security (DSA / DLA) · Nov 27, 2025