Skip to content
OpenAdvisories
Medium · 6.7 CVE-2025-59820 EUVD-2025-199710GHSA-r8j3-whr2-75m5

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…

Published Nov 26, 2025 · Updated Dec 6, 2025 · Assigned by mitre

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 products

VendorProductAffectedFixed
KDE Krita < 5.2.13 5.2.13

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 krita 1:5.2.13+dfsg-1 —
Debian 13 krita 1:5.2.9+dfsg-1+deb13u1 DSA-6065-1
Debian 12 krita 1:5.1.5+dfsg-2+deb12u1 DSA-6065-1
Debian 11 krita 1:4.4.2+dfsg-1+deb11u1 DLA-4395-1
ReleasePackageFixed inAdvisory
Ubuntu 24.04 LTS krita No fix yet —
Ubuntu 22.04 LTS krita No fix yet —
Ubuntu 20.04 LTS krita No fix yet —
Ubuntu 18.04 LTS krita No fix yet —
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed krita 5.2.13-1.1 openSUSE-SU-2025:15577-1

Advisories 3

References