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

EcosystemPackageFixed inAdvisory
Debian:12krita1:5.1.5+dfsg-2+deb12u1DSA-6065-1
Debian:12krita1:5.1.5+dfsg-2+deb12u1DEBIAN-CVE-2025-59820
Debian:13krita1:5.2.9+dfsg-1+deb13u1DSA-6065-1
Debian:13krita1:5.2.9+dfsg-1+deb13u1DEBIAN-CVE-2025-59820
Debian:14krita1:5.2.13+dfsg-1DEBIAN-CVE-2025-59820
Ubuntu:22.04:LTSkritano fix listedUBUNTU-CVE-2025-59820
Ubuntu:24.04:LTSkritano fix listedUBUNTU-CVE-2025-59820

Affected products (as reported)

VendorProductVersions
KDE Krita 0 – before 5.2.13

Weakness: CWE-1284 · Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:H/A:N

References