
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
- Severity
- High · CVSS 8.8
CVSS: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.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | kitty | sid | 0.48.2-1.1 | fixed |
| Debian | kitty | forky | 0.48.2-1.1 | fixed |
| Debian | kitty | trixie | 0.41.1-2+deb13u2 | fixed |
| Debian | kitty | trixie-security | 0.41.1-2+deb13u2 | fixed |
| Debian | kitty | bookworm | 0.26.5-5 | vulnerable |
| Cpe | kitty | Not reported | Not reported | vulnerable |
| Cpe | kitty | Not reported | 0.47.0 | fixed |
| Ubuntu | kitty | noble | 0.32.2-1ubuntu0.4+esm2 | fixed |
| Ubuntu | kitty-doc | noble | 0.32.2-1ubuntu0.4+esm2 | fixed |
| Ubuntu | kitty-shell-integration | noble | 0.32.2-1ubuntu0.4+esm2 | fixed |
| Ubuntu | kitty-terminfo | noble | 0.32.2-1ubuntu0.4+esm2 | fixed |
| Ubuntu | kitty | pro | 0.41.1-2 | vulnerable |
| Ubuntu | kitty | pro | 0.43.1-1 | vulnerable |
| Ubuntu | kitty | pro | 0.44.0-1 | vulnerable |
| Ubuntu | kitty | pro | 0.45.0-1 | vulnerable |
| Ubuntu | kitty | pro | 0.45.0-1build1 | vulnerable |
| Ubuntu | kitty | pro | 0.45.0-1ubuntu0.1~esm1 | vulnerable |
| Ubuntu | kitty | pro | 0.45.0-1ubuntu0.1~esm2 | fixed |
| Ubuntu | kitty | pro | 0.41.1-2 | vulnerable |
| Ubuntu | kitty | pro | 0.43.1-1 | vulnerable |
| Ubuntu | kitty | pro | 0.44.0-1 | vulnerable |
| Ubuntu | kitty | pro | 0.45.0-1 | vulnerable |
| Ubuntu | kitty | pro | 0.45.0-1build1 | vulnerable |
| Ubuntu | kitty | pro | 0.45.0-1ubuntu0.1~esm1 | vulnerable |
| Ubuntu | kitty | pro | 0.45.0-1ubuntu0.1~esm2 | fixed |
| Ubuntu | kitty | 25.10 | 0.39.1-1 | vulnerable |
| Ubuntu | kitty | 25.10 | 0.41.1-2 | vulnerable |
| Ubuntu | kitty | 25.10 | 0.41.1-2+deb13u1build0.25.10.1 | vulnerable |
| Cpe | kitty | Not reported | 0.47.0 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | kitty | source | sid | 0.47.0-1 | not yet assigned | Not reported | [1139898] |
| Debian | kitty | source | forky | 0.47.0-1 | not yet assigned | Not reported | [1139898] |
| Debian | kitty | source | trixie | 0.41.1-2+deb13u2 | not yet assigned | Not reported | [1139898] |
| Debian | kitty | source | bookworm | (unfixed) | not yet assigned | Not reported | [1139898] |
| Cpe | kitty | cpe | Not reported | 0.47.0 | Not reported | Not reported | Not reported |
| Ubuntu | kitty | deb | noble | 0.32.2-1ubuntu0.4+esm2 | Not reported | Not reported | Not reported |
| Ubuntu | kitty-doc | deb | noble | 0.32.2-1ubuntu0.4+esm2 | Not reported | Not reported | Not reported |
| Ubuntu | kitty-shell-integration | deb | noble | 0.32.2-1ubuntu0.4+esm2 | Not reported | Not reported | Not reported |
| Ubuntu | kitty-terminfo | deb | noble | 0.32.2-1ubuntu0.4+esm2 | Not reported | Not reported | Not reported |
| Ubuntu | kitty | deb | pro | 0.45.0-1ubuntu0.1~esm2 | Not reported | USN-8763-1 | Not reported |
| Ubuntu | kitty | deb | pro | 0.45.0-1ubuntu0.1~esm2 | Not reported | UBUNTU-CVE-2026-42850 | Not reported |
| Cpe | kitty | cpe | Not reported | 0.47.0 | Not reported | NVD-CVE-2026-42850 | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [kitty]Affected
Details (2)
0.26.5-5· amd64 · bookwormAffected
nvd · kitty · debian · bookworm; nvd · kitty · debian · 12
0.26.5-5· arm64 · bookwormAffected
nvd · kitty · debian · bookworm; nvd · kitty · debian · 12
- [kitty-doc]Affected
Source package: [kitty]
Details (2)
0.26.5-5· all · bookwormAffected
nvd · kitty · debian · bookworm; nvd · kitty · debian · 12
0.26.5-5· all · bookwormAffected
nvd · kitty · debian · bookworm; nvd · kitty · debian · 12
- [kitty-shell-integration]Affected
Source package: [kitty]
Details (2)
0.26.5-5· all · bookwormAffected
nvd · kitty · debian · bookworm; nvd · kitty · debian · 12
0.26.5-5· all · bookwormAffected
nvd · kitty · debian · bookworm; nvd · kitty · debian · 12
- [kitty-terminfo]Affected
Source package: [kitty]
Details (2)
0.26.5-5· all · bookwormAffected
nvd · kitty · debian · bookworm; nvd · kitty · debian · 12
0.26.5-5· all · bookwormAffected
nvd · kitty · debian · bookworm; nvd · kitty · debian · 12
[Debian 13 (Trixie)]
- [kitty]Affected
Details (4)
0.41.1-2+deb13u1· amd64 · trixieAffected · Fixed:
0.41.1-2+deb13u2nvd · kitty · debian · 13
0.41.1-2+deb13u1· arm64 · trixieAffected · Fixed:
0.41.1-2+deb13u2nvd · kitty · debian · 13
0.41.1-2+deb13u2· amd64 · trixie-securityFixed · Fixed:
0.41.1-2+deb13u2nvd · kitty · debian · 13
0.41.1-2+deb13u2· arm64 · trixie-securityFixed · Fixed:
0.41.1-2+deb13u2nvd · kitty · debian · 13
- [kitty-doc]Affected
Source package: [kitty]
Details (4)
0.41.1-2+deb13u1· all · trixieAffected · Fixed:
0.41.1-2+deb13u2nvd · kitty · debian · 13
0.41.1-2+deb13u1· all · trixieAffected · Fixed:
0.41.1-2+deb13u2nvd · kitty · debian · 13
0.41.1-2+deb13u2· all · trixie-securityFixed · Fixed:
0.41.1-2+deb13u2nvd · kitty · debian · 13
0.41.1-2+deb13u2· all · trixie-securityFixed · Fixed:
0.41.1-2+deb13u2nvd · kitty · debian · 13
- [kitty-shell-integration]Affected
Source package: [kitty]
Details (4)
0.41.1-2+deb13u1· all · trixieAffected · Fixed:
0.41.1-2+deb13u2nvd · kitty · debian · 13
0.41.1-2+deb13u1· all · trixieAffected · Fixed:
0.41.1-2+deb13u2nvd · kitty · debian · 13
0.41.1-2+deb13u2· all · trixie-securityFixed · Fixed:
0.41.1-2+deb13u2nvd · kitty · debian · 13
0.41.1-2+deb13u2· all · trixie-securityFixed · Fixed:
0.41.1-2+deb13u2nvd · kitty · debian · 13
- [kitty-terminfo]Affected
Source package: [kitty]
Details (4)
0.41.1-2+deb13u1· all · trixieAffected · Fixed:
0.41.1-2+deb13u2nvd · kitty · debian · 13
0.41.1-2+deb13u1· all · trixieAffected · Fixed:
0.41.1-2+deb13u2nvd · kitty · debian · 13
0.41.1-2+deb13u2· all · trixie-securityFixed · Fixed:
0.41.1-2+deb13u2nvd · kitty · debian · 13
0.41.1-2+deb13u2· all · trixie-securityFixed · Fixed:
0.41.1-2+deb13u2nvd · kitty · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/opensuse-su-2026_21599-1.json]
- [https://github.com/kovidgoyal/kitty/security/advisories/GHSA-p64q-59hq-5q65]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-42850]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-42850]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2026-42850]
- [https://osv.dev/vulnerability/USN-8763-1]
- [https://security-tracker.debian.org/tracker/CVE-2026-42850]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-42850.json]
- [https://ubuntu.com/security/notices/USN-8763-1]
[Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX] · [Ubuntu Security Notices (USN)]