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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
Mitigation details
CVE-2025-59820 NameCVE-2025-59820 DescriptionIn 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. SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub…
CVE-2025-59820
| 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 |
Vulnerable and fixed packages
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, bookworm (security) | 1:5.1.5+dfsg-2+deb12u1 | fixed | |
| trixie (security), trixie | 1:5.2.9+dfsg-1+deb13u1 | fixed | |
| forky | 1:5.3.2+dfsg-1 | fixed | |
| sid | 1:5.3.2.1+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 |
Notes
https://kde.org/info/security/advisory-20250929-1.txt
Fixed by: https://commits.kde.org/krita/6d3651ac4df88efb68e013d21061de9846e83fe8 (v5.2.13)
Apply commands
https://kde.org/info/security/advisory-20250929-1.txtFixed by: https://commits.kde.org/krita/6d3651ac4df88efb68e013d21061de9846e83fe8 (v5.2.13)
OS impact
Debian Fixed 5 releases
| Version | Status | Fixed in |
|---|---|---|
| trixie | Fixed | 1:5.2.9+dfsg-1+deb13u1 |
| sid | Fixed | 1:5.2.13+dfsg-1 |
| forky | Fixed | 1:5.2.13+dfsg-1 |
| bullseye | Fixed | 1:4.4.2+dfsg-1+deb11u1 |
| bookworm | Fixed | 1:5.1.5+dfsg-2+deb12u1 |
References
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.