Vulnerability · Published Nov 26, 2025 · Assigned by mitre
CVE-2025-59820
Medium 6.7
In plain English
A medium-severity security flaw in Krita from KDE. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 13% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)6.7Medium
Exploit odds (30 days)0.2%top 87.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | krita | 1:5.1.5+dfsg-2+deb12u1 | DSA-6065-1 |
| Debian:12 | krita | 1:5.1.5+dfsg-2+deb12u1 | DEBIAN-CVE-2025-59820 |
| Debian:13 | krita | 1:5.2.9+dfsg-1+deb13u1 | DSA-6065-1 |
| Debian:13 | krita | 1:5.2.9+dfsg-1+deb13u1 | DEBIAN-CVE-2025-59820 |
| Debian:14 | krita | 1:5.2.13+dfsg-1 | DEBIAN-CVE-2025-59820 |
| Ubuntu:22.04:LTS | krita | no fix listed | UBUNTU-CVE-2025-59820 |
| Ubuntu:24.04:LTS | krita | no fix listed | UBUNTU-CVE-2025-59820 |
Affected products (as reported)
Weakness: CWE-1284 · Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:H/A:N