# CVE-2025-59820: In KDE Krita before 5.2.13, loading a manipulated TGA file could result in a heap-based buffer overflow in plugins/impex/tga/kistgaimport.c…

- Severity: Medium 6.7 (CVSS:3.1, scored by mitre) `CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 13% of CVEs (2026-12-01)
- Published: 2025-11-26T00:00:00.000Z
- Modified: 2026-10-18T20:10:00.110Z
- Weaknesses: CWE-1284
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- KDE Krita: before 5.2.13

## References

- <https://invent.kde.org/graphics/krita/>
- <https://kde.org/info/security/advisory-20250929-1.txt>
- <https://invent.kde.org/graphics/krita/-/commit/6d3651ac4df88efb68e013d21061de9846e83fe8>
- <https://lists.debian.org/debian-lts-announce/2025/12/msg00006.html>

## Sources

- CVE List: [CVE-2025-59820](https://www.cve.org/CVERecord?id=CVE-2025-59820), CVE Terms of Use, modified 2025-12-06
- NVD: [CVE-2025-59820](https://nvd.nist.gov/vuln/detail/CVE-2025-59820), Public domain, modified 2026-10-18

---

Page: https://cve.day/CVE-2025-59820 · Whole record: https://cve.day/CVE-2025-59820.json · Rebuilt by cve.day 2026-11-25T22:59:08.034Z
