CVE-2025-59820
published medium CVSS 3.1 · 6.7Krita: Heap-based buffer overflow via manipulated TGA file
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| KDE | — | Krita0 to < 5.2.13 · Other versions: unaffected | Affected | Not stated | mitre |
| Debian | bookworm | krita | Advisory build | 1:5.1.5+dfsg-2+deb12u1 | DSA-6065-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kritaaarch64 | Advisory build | 5.2.13-1.1 | OPENSUSE-SU-2025:15577-1 |
| Debian | bullseye | krita | Advisory build | 1:4.4.2+dfsg-1+deb11u1 | DLA-4395-1 |
| Debian | trixie | krita | Advisory build | 1:5.2.9+dfsg-1+deb13u1 | DSA-6065-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kritappc64le | Advisory build | 5.2.13-1.1 | OPENSUSE-SU-2025:15577-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kritas390x | Advisory build | 5.2.13-1.1 | OPENSUSE-SU-2025:15577-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kritax86_64 | Advisory build | 5.2.13-1.1 | OPENSUSE-SU-2025:15577-1 |
Show 8 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | krita-develaarch64 | Advisory build | 5.2.13-1.1 | OPENSUSE-SU-2025:15577-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | krita-develppc64le | Advisory build | 5.2.13-1.1 | OPENSUSE-SU-2025:15577-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | krita-devels390x | Advisory build | 5.2.13-1.1 | OPENSUSE-SU-2025:15577-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | krita-develx86_64 | Advisory build | 5.2.13-1.1 | OPENSUSE-SU-2025:15577-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | krita-langaarch64 | Advisory build | 5.2.13-1.1 | OPENSUSE-SU-2025:15577-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | krita-langppc64le | Advisory build | 5.2.13-1.1 | OPENSUSE-SU-2025:15577-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | krita-langs390x | Advisory build | 5.2.13-1.1 | OPENSUSE-SU-2025:15577-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | krita-langx86_64 | Advisory build | 5.2.13-1.1 | OPENSUSE-SU-2025:15577-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.7 / 10
- Severity
- medium
- Provider
- mitre · cna
- Vector string
- CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:H/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| KDE | Krita | 0 to < 5.2.13 (affected · custom)Default: unaffected | mitre · cna |
Weaknesses
1- CWE-1284 CWE-1284 Improper Validation of Specified Quantity in Input
References
4Provider assertions
3mitre · cna
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 89f8ed8da3ac01860bfb1214e36cb80df7c9541b0355689c1405395fa5484d9e
- Ingested
- 23 Sep 2026, 08:54:20 UTC
- Source record
- Official CVE record