cve.bz

CVE-2025-59820 kde krita

6.7 mediumEPSS 0.2%

Medium (6.7) in kde krita. EPSS 0.2% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

6.7 medium
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:H/A:N
EPSS
0.2% (unchanged from 0.2% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 13th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2025-11-26. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-1284 Improper Validation of Specified Quantity in Input
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2025-59820 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-59820?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-59820?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-59820 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
KDE Kritabefore 5.2.13

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11krita1:4.4.2+dfsg-1+deb11u1DLA-4395-1
Debian12krita1:5.1.5+dfsg-2+deb12u1DEBIAN-CVE-2025-59820 DSA-6065-1
Debian13krita1:5.2.9+dfsg-1+deb13u1DEBIAN-CVE-2025-59820 DSA-6065-1
Debian14krita1:5.2.13+dfsg-1DEBIAN-CVE-2025-59820
Ubuntu18.04:LTS, 20.04:LTS, 22.04:LTS and 1 morekritano fix listedUBUNTU-CVE-2025-59820
openSUSETumbleweedkrita5.2.13-1.1openSUSE-SU-2025:15577-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

A heap-based buffer overflow in Krita, triggered by loading a manipulated TGA file, could lead to arbitrary code execution or application instability. This issue primarily affects the integrity and availability of the Krita application when processing untrusted input.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-59820.

References

Check your stackJSON