CVE catalog

CVE-2025-59820

krita: CVE-2025-59820

[CVE catalog]

Severity
Medium · CVSS 6.7CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:H/A:N
Published
Source
[NVD] · [CVE record]
EPSS
0.21% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debiankritasid1:5.3.4.1+dfsg-1fixed
Debiankritaforky1:5.3.4.1+dfsg-1fixed
Debiankritatrixie1:5.2.9+dfsg-1+deb13u1fixed
Debiankritatrixie-security1:5.2.9+dfsg-1+deb13u1fixed
Debiankritabookworm1:5.1.5+dfsg-2+deb12u1fixed
Debiankritabookworm-security1:5.1.5+dfsg-2+deb12u1fixed
Opensusekritatumbleweed5.2.13-1.1fixed
Ubuntukrita18.041:3.2.1+dfsg-1vulnerable
Ubuntukrita18.041:3.2.1+dfsg-1build1vulnerable
Ubuntukrita18.041:3.3.1+dfsg-1vulnerable
Ubuntukrita18.041:3.3.2.1+dfsg-1vulnerable
Ubuntukrita18.041:3.3.3+dfsg-1vulnerable
Ubuntukrita18.041:4.0.0+dfsg-0ubuntu1vulnerable
Ubuntukrita18.041:4.0.1+dfsg-0ubuntu1vulnerable
Ubuntukrita20.041:4.2.7.1+dfsg-1vulnerable
Ubuntukrita20.041:4.2.8.2+dfsg-1vulnerable
Ubuntukrita20.041:4.2.8.2+dfsg-1build1vulnerable
Ubuntukrita20.041:4.2.8.2+dfsg-1build2vulnerable
Ubuntukrita20.041:4.2.8.2+dfsg-1build3vulnerable
Ubuntukrita20.041:4.2.8.2+dfsg-1build4vulnerable
Ubuntukrita20.041:4.2.9+dfsg-1vulnerable
Ubuntukrita22.041:4.4.8+dfsg-1ubuntu1vulnerable
Ubuntukrita22.041:4.4.8+dfsg-1ubuntu2vulnerable
Ubuntukrita22.041:5.0.0~beta5+dfsg-1ubuntu1vulnerable
Ubuntukrita22.041:5.0.0+dfsg-1ubuntu1vulnerable
Ubuntukrita22.041:5.0.0+dfsg-2ubuntu1vulnerable
Ubuntukrita22.041:5.0.2+dfsg-1vulnerable
Ubuntukrita22.041:5.0.2+dfsg-1build1vulnerable
Ubuntukrita24.041:5.1.5+dfsg-2build2vulnerable
Ubuntukrita24.041:5.2.0+dfsg-1vulnerable
Ubuntukrita24.041:5.2.1+dfsg-2vulnerable
Ubuntukrita24.041:5.2.2+dfsg-1vulnerable
Ubuntukrita24.041:5.2.2+dfsg-2vulnerable
Ubuntukrita24.041:5.2.2+dfsg-2build2vulnerable
Ubuntukrita24.041:5.2.2+dfsg-2build5vulnerable
Ubuntukrita24.041:5.2.2+dfsg-2build6vulnerable
Ubuntukrita24.041:5.2.2+dfsg-2build8vulnerable

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiankritasourcesid1:5.2.13+dfsg-1not yet assignedNot reportedNot reported
Debiankritasourceforky1:5.2.13+dfsg-1not yet assignedNot reportedNot reported
Debiankritasourcetrixie1:5.2.9+dfsg-1+deb13u1not yet assignedNot reportedNot reported
Debiankritasourcebookworm1:5.1.5+dfsg-2+deb12u1not yet assignedNot reportedNot reported
Opensusekritarpmtumbleweed5.2.13-1.1Not reportedOPENSUSE-SU-2025:15577-1Not reported

OpenFactory catalog packages

[openSUSE Tumbleweed]

  • [krita-devel]Unknown

    Source package: [krita]

    Details (1)
    • 5.3.3-1.2 · x86_64 · tumbleweed

      Unknown · Fixed: 5.2.13-1.1

      Version impact unknown

      dsa · krita · opensuse · tumbleweed

  • [krita-lang]Unknown

    Source package: [krita]

    Details (1)
    • 5.3.3-1.2 · noarch · tumbleweed

      Unknown · Fixed: 5.2.13-1.1

      Version impact unknown

      dsa · krita · opensuse · tumbleweed

  • [krita]Fixed

    Source package: [krita]

    Details (1)
    • 5.3.3-1.2 · x86_64 · tumbleweed

      Fixed · Fixed: 5.2.13-1.1

      dsa · krita · opensuse · tumbleweed

[Debian 12 (Bookworm)]

  • [krita]Fixed
    Details (4)
    • 1:5.1.5+dfsg-2+deb12u1 · amd64 · bookworm

      Fixed · Fixed: 1:5.1.5+dfsg-2+deb12u1

      dsa · krita · debian · bookworm; dsa · krita · debian · 12

    • 1:5.1.5+dfsg-2+deb12u1 · arm64 · bookworm

      Fixed · Fixed: 1:5.1.5+dfsg-2+deb12u1

      dsa · krita · debian · bookworm; dsa · krita · debian · 12

    • 1:5.1.5+dfsg-2+deb12u1 · amd64 · bookworm-security

      Fixed · Fixed: 1:5.1.5+dfsg-2+deb12u1

      dsa · krita · debian · bookworm; dsa · krita · debian · 12

    • 1:5.1.5+dfsg-2+deb12u1 · arm64 · bookworm-security

      Fixed · Fixed: 1:5.1.5+dfsg-2+deb12u1

      dsa · krita · debian · bookworm; dsa · krita · debian · 12

  • [krita-data]Fixed

    Source package: [krita]

    Details (4)
    • 1:5.1.5+dfsg-2+deb12u1 · all · bookworm

      Fixed · Fixed: 1:5.1.5+dfsg-2+deb12u1

      dsa · krita · debian · bookworm; dsa · krita · debian · 12

    • 1:5.1.5+dfsg-2+deb12u1 · all · bookworm

      Fixed · Fixed: 1:5.1.5+dfsg-2+deb12u1

      dsa · krita · debian · bookworm; dsa · krita · debian · 12

    • 1:5.1.5+dfsg-2+deb12u1 · all · bookworm-security

      Fixed · Fixed: 1:5.1.5+dfsg-2+deb12u1

      dsa · krita · debian · bookworm; dsa · krita · debian · 12

    • 1:5.1.5+dfsg-2+deb12u1 · all · bookworm-security

      Fixed · Fixed: 1:5.1.5+dfsg-2+deb12u1

      dsa · krita · debian · bookworm; dsa · krita · debian · 12

  • [krita-l10n]Fixed

    Source package: [krita]

    Details (4)
    • 1:5.1.5+dfsg-2+deb12u1 · all · bookworm

      Fixed · Fixed: 1:5.1.5+dfsg-2+deb12u1

      dsa · krita · debian · bookworm; dsa · krita · debian · 12

    • 1:5.1.5+dfsg-2+deb12u1 · all · bookworm

      Fixed · Fixed: 1:5.1.5+dfsg-2+deb12u1

      dsa · krita · debian · bookworm; dsa · krita · debian · 12

    • 1:5.1.5+dfsg-2+deb12u1 · all · bookworm-security

      Fixed · Fixed: 1:5.1.5+dfsg-2+deb12u1

      dsa · krita · debian · bookworm; dsa · krita · debian · 12

    • 1:5.1.5+dfsg-2+deb12u1 · all · bookworm-security

      Fixed · Fixed: 1:5.1.5+dfsg-2+deb12u1

      dsa · krita · debian · bookworm; dsa · krita · debian · 12

[Debian 13 (Trixie)]

  • [krita]Fixed
    Details (4)
    • 1:5.2.9+dfsg-1+deb13u1 · amd64 · trixie

      Fixed · Fixed: 1:5.2.9+dfsg-1+deb13u1

      dsa · krita · debian · 13

    • 1:5.2.9+dfsg-1+deb13u1 · arm64 · trixie

      Fixed · Fixed: 1:5.2.9+dfsg-1+deb13u1

      dsa · krita · debian · 13

    • 1:5.2.9+dfsg-1+deb13u1 · amd64 · trixie-security

      Fixed · Fixed: 1:5.2.9+dfsg-1+deb13u1

      dsa · krita · debian · 13

    • 1:5.2.9+dfsg-1+deb13u1 · arm64 · trixie-security

      Fixed · Fixed: 1:5.2.9+dfsg-1+deb13u1

      dsa · krita · debian · 13

  • [krita-data]Fixed

    Source package: [krita]

    Details (4)
    • 1:5.2.9+dfsg-1+deb13u1 · all · trixie

      Fixed · Fixed: 1:5.2.9+dfsg-1+deb13u1

      dsa · krita · debian · 13

    • 1:5.2.9+dfsg-1+deb13u1 · all · trixie

      Fixed · Fixed: 1:5.2.9+dfsg-1+deb13u1

      dsa · krita · debian · 13

    • 1:5.2.9+dfsg-1+deb13u1 · all · trixie-security

      Fixed · Fixed: 1:5.2.9+dfsg-1+deb13u1

      dsa · krita · debian · 13

    • 1:5.2.9+dfsg-1+deb13u1 · all · trixie-security

      Fixed · Fixed: 1:5.2.9+dfsg-1+deb13u1

      dsa · krita · debian · 13

  • [krita-l10n]Fixed

    Source package: [krita]

    Details (4)
    • 1:5.2.9+dfsg-1+deb13u1 · all · trixie

      Fixed · Fixed: 1:5.2.9+dfsg-1+deb13u1

      dsa · krita · debian · 13

    • 1:5.2.9+dfsg-1+deb13u1 · all · trixie

      Fixed · Fixed: 1:5.2.9+dfsg-1+deb13u1

      dsa · krita · debian · 13

    • 1:5.2.9+dfsg-1+deb13u1 · all · trixie-security

      Fixed · Fixed: 1:5.2.9+dfsg-1+deb13u1

      dsa · krita · debian · 13

    • 1:5.2.9+dfsg-1+deb13u1 · all · trixie-security

      Fixed · Fixed: 1:5.2.9+dfsg-1+deb13u1

      dsa · krita · debian · 13

Observed:

References