CVE catalog

CVE-2026-42850

Kitty is a cross-platform GPU based terminal. In versions prior to 0.47.0, it is possible to inject commands within the subshell through kitty error. A special escape code will make kitty return an er

[CVE catalog]

Severity
High · CVSS 8.8CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Published
Source
[NVD] · [CVE record]
EPSS
0.29% · Oct 25, 2026

Kitty is a cross-platform GPU based terminal. In versions prior to 0.47.0, it is possible to inject commands within the subshell through kitty error. A special escape code will make kitty return an error, this error is not escaped and will be correctly echoed back to the terminal with CRLF, as such it will be run by the shell in use. To exploit this bug, the victim must use a netcat or a similar program to connect to the attacker, or else listening for someone to connect. Once this condition is set, an attacker could pwn the computer of the victim using a special kitty's escape code that will run a command in the shell in use. Version 04.7.0 fixes the issue.

Vulnerable and fixed packages

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

DistributionPackageReleaseVersionStatus
Debiankittysid0.48.2-1.1fixed
Debiankittyforky0.48.2-1.1fixed
Debiankittytrixie0.41.1-2+deb13u2fixed
Debiankittytrixie-security0.41.1-2+deb13u2fixed
Debiankittybookworm0.26.5-5vulnerable
CpekittyNot reportedNot reportedvulnerable
CpekittyNot reported0.47.0fixed
Ubuntukittynoble0.32.2-1ubuntu0.4+esm2fixed
Ubuntukitty-docnoble0.32.2-1ubuntu0.4+esm2fixed
Ubuntukitty-shell-integrationnoble0.32.2-1ubuntu0.4+esm2fixed
Ubuntukitty-terminfonoble0.32.2-1ubuntu0.4+esm2fixed
Ubuntukittypro0.41.1-2vulnerable
Ubuntukittypro0.43.1-1vulnerable
Ubuntukittypro0.44.0-1vulnerable
Ubuntukittypro0.45.0-1vulnerable
Ubuntukittypro0.45.0-1build1vulnerable
Ubuntukittypro0.45.0-1ubuntu0.1~esm1vulnerable
Ubuntukittypro0.45.0-1ubuntu0.1~esm2fixed
Ubuntukittypro0.41.1-2vulnerable
Ubuntukittypro0.43.1-1vulnerable
Ubuntukittypro0.44.0-1vulnerable
Ubuntukittypro0.45.0-1vulnerable
Ubuntukittypro0.45.0-1build1vulnerable
Ubuntukittypro0.45.0-1ubuntu0.1~esm1vulnerable
Ubuntukittypro0.45.0-1ubuntu0.1~esm2fixed
Ubuntukitty25.100.39.1-1vulnerable
Ubuntukitty25.100.41.1-2vulnerable
Ubuntukitty25.100.41.1-2+deb13u1build0.25.10.1vulnerable
CpekittyNot reported0.47.0fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiankittysourcesid0.47.0-1not yet assignedNot reported[1139898]
Debiankittysourceforky0.47.0-1not yet assignedNot reported[1139898]
Debiankittysourcetrixie0.41.1-2+deb13u2not yet assignedNot reported[1139898]
Debiankittysourcebookworm(unfixed)not yet assignedNot reported[1139898]
CpekittycpeNot reported0.47.0Not reportedNot reportedNot reported
Ubuntukittydebnoble0.32.2-1ubuntu0.4+esm2Not reportedNot reportedNot reported
Ubuntukitty-docdebnoble0.32.2-1ubuntu0.4+esm2Not reportedNot reportedNot reported
Ubuntukitty-shell-integrationdebnoble0.32.2-1ubuntu0.4+esm2Not reportedNot reportedNot reported
Ubuntukitty-terminfodebnoble0.32.2-1ubuntu0.4+esm2Not reportedNot reportedNot reported
Ubuntukittydebpro0.45.0-1ubuntu0.1~esm2Not reportedUSN-8763-1Not reported
Ubuntukittydebpro0.45.0-1ubuntu0.1~esm2Not reportedUBUNTU-CVE-2026-42850Not reported
CpekittycpeNot reported0.47.0Not reportedNVD-CVE-2026-42850Not reported

[Debian bug #1139898]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [kitty]Affected
    Details (2)
    • 0.26.5-5 · amd64 · bookworm

      Affected

      nvd · kitty · debian · bookworm; nvd · kitty · debian · 12

    • 0.26.5-5 · arm64 · bookworm

      Affected

      nvd · kitty · debian · bookworm; nvd · kitty · debian · 12

  • [kitty-doc]Affected

    Source package: [kitty]

    Details (2)
    • 0.26.5-5 · all · bookworm

      Affected

      nvd · kitty · debian · bookworm; nvd · kitty · debian · 12

    • 0.26.5-5 · all · bookworm

      Affected

      nvd · kitty · debian · bookworm; nvd · kitty · debian · 12

  • Source package: [kitty]

    Details (2)
    • 0.26.5-5 · all · bookworm

      Affected

      nvd · kitty · debian · bookworm; nvd · kitty · debian · 12

    • 0.26.5-5 · all · bookworm

      Affected

      nvd · kitty · debian · bookworm; nvd · kitty · debian · 12

  • [kitty-terminfo]Affected

    Source package: [kitty]

    Details (2)
    • 0.26.5-5 · all · bookworm

      Affected

      nvd · kitty · debian · bookworm; nvd · kitty · debian · 12

    • 0.26.5-5 · all · bookworm

      Affected

      nvd · kitty · debian · bookworm; nvd · kitty · debian · 12

[Debian 13 (Trixie)]

  • [kitty]Affected
    Details (4)
    • 0.41.1-2+deb13u1 · amd64 · trixie

      Affected · Fixed: 0.41.1-2+deb13u2

      nvd · kitty · debian · 13

    • 0.41.1-2+deb13u1 · arm64 · trixie

      Affected · Fixed: 0.41.1-2+deb13u2

      nvd · kitty · debian · 13

    • 0.41.1-2+deb13u2 · amd64 · trixie-security

      Fixed · Fixed: 0.41.1-2+deb13u2

      nvd · kitty · debian · 13

    • 0.41.1-2+deb13u2 · arm64 · trixie-security

      Fixed · Fixed: 0.41.1-2+deb13u2

      nvd · kitty · debian · 13

  • [kitty-doc]Affected

    Source package: [kitty]

    Details (4)
    • 0.41.1-2+deb13u1 · all · trixie

      Affected · Fixed: 0.41.1-2+deb13u2

      nvd · kitty · debian · 13

    • 0.41.1-2+deb13u1 · all · trixie

      Affected · Fixed: 0.41.1-2+deb13u2

      nvd · kitty · debian · 13

    • 0.41.1-2+deb13u2 · all · trixie-security

      Fixed · Fixed: 0.41.1-2+deb13u2

      nvd · kitty · debian · 13

    • 0.41.1-2+deb13u2 · all · trixie-security

      Fixed · Fixed: 0.41.1-2+deb13u2

      nvd · kitty · debian · 13

  • Source package: [kitty]

    Details (4)
    • 0.41.1-2+deb13u1 · all · trixie

      Affected · Fixed: 0.41.1-2+deb13u2

      nvd · kitty · debian · 13

    • 0.41.1-2+deb13u1 · all · trixie

      Affected · Fixed: 0.41.1-2+deb13u2

      nvd · kitty · debian · 13

    • 0.41.1-2+deb13u2 · all · trixie-security

      Fixed · Fixed: 0.41.1-2+deb13u2

      nvd · kitty · debian · 13

    • 0.41.1-2+deb13u2 · all · trixie-security

      Fixed · Fixed: 0.41.1-2+deb13u2

      nvd · kitty · debian · 13

  • [kitty-terminfo]Affected

    Source package: [kitty]

    Details (4)
    • 0.41.1-2+deb13u1 · all · trixie

      Affected · Fixed: 0.41.1-2+deb13u2

      nvd · kitty · debian · 13

    • 0.41.1-2+deb13u1 · all · trixie

      Affected · Fixed: 0.41.1-2+deb13u2

      nvd · kitty · debian · 13

    • 0.41.1-2+deb13u2 · all · trixie-security

      Fixed · Fixed: 0.41.1-2+deb13u2

      nvd · kitty · debian · 13

    • 0.41.1-2+deb13u2 · all · trixie-security

      Fixed · Fixed: 0.41.1-2+deb13u2

      nvd · kitty · debian · 13

Observed:

References