| Name | CVE-2025-59820 |
| 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. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| References | DLA-4395-1, DSA-6065-1 |
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| krita (PTS) | bullseye | 1:4.4.2+dfsg-1 | vulnerable |
| bullseye (security) | 1:4.4.2+dfsg-1+deb11u1 | fixed | |
| bookworm | 1:5.1.5+dfsg-2 | vulnerable | |
| bookworm (security) | 1:5.1.5+dfsg-2+deb12u1 | fixed | |
| trixie | 1:5.2.9+dfsg-1 | vulnerable | |
| trixie (security) | 1:5.2.9+dfsg-1+deb13u1 | fixed | |
| forky | 1:5.2.13+dfsg-2 | fixed | |
| sid | 1:5.2.14+dfsg-1 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| krita | source | bullseye | 1:4.4.2+dfsg-1+deb11u1 | DLA-4395-1 | ||
| krita | source | bookworm | 1:5.1.5+dfsg-2+deb12u1 | DSA-6065-1 | ||
| krita | source | trixie | 1:5.2.9+dfsg-1+deb13u1 | DSA-6065-1 | ||
| krita | source | (unstable) | 1:5.2.13+dfsg-1 |
https://kde.org/info/security/advisory-20250929-1.txt
Fixed by: https://commits.kde.org/krita/6d3651ac4df88efb68e013d21061de9846e83fe8 (v5.2.13)