In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applicationsUpgrade Debian:unstable krita to version 1:5.2.13+dfsg-1 or higher.
Note: Versions mentioned in the description apply only to the upstream krita package and not the krita package as distributed by Debian.
See How to fix? for Debian:unstable relevant fixed versions and status.
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.