# CVE-2026-33642: kitty: Kitty is a cross-platform GPU based terminal

CVE-2026-33642 is fixed in 3 products on 1 platform, first by kitty 0.15.0-1ubuntu0.2+esm1, released May 19, 2026. It is not reported as exploited. Patch Radar priority: Urgent.

- Web page: https://patchblox.com/security/cve/CVE-2026-33642
- Priority: Urgent
- CVSS: 9.8 (critical)
- EPSS: 0.0029
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: May 19, 2026

## Description

Kitty is a cross-platform GPU based terminal. In versions 0.46.2 and below, the handle_compose_command() function in kitty/graphics.c performs bounds validation on composition offsets using unsigned 32-bit arithmetic that is subject to integer wrapping, potentially leading to Heap Buffer Over-Read/Write. An attacker who can write escape sequences to a kitty terminal (e.g., via a malicious file, SSH login banner, or piped content) can supply crafted x_offset/y_offset values that pass the bounds check after wrapping but cause massive out-of-bounds heap memory access in compose_rectangles(). No user interaction is required. No non-default configuration is required. The attacker only needs the ability to produce output in a kitty terminal window. This issue has been fixed in version 0.47.0.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | kitty Debian 13.5 (trixie) | 0.41.1-2+deb13u1 | [DEBIAN-CVE-2026-33642](https://patchblox.com/security/data/fix/linux/debian-cve-2026-33642.md) | May 27, 2026 |
| Linux | kitty Debian 14 | 0.47.0-1 | [DEBIAN-CVE-2026-33642](https://patchblox.com/security/data/fix/linux/debian-cve-2026-33642.md) | May 27, 2026 |
| Linux | kitty Ubuntu 20.04 LTS (focal) | 0.15.0-1ubuntu0.2+esm1 | [kitty 0.15.0-1ubuntu0.2+esm1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-kitty-0.15.0-1ubuntu0.2-esm1.md) | May 19, 2026 |
| Linux | kitty Ubuntu 22.04.1 LTS (jammy) | 0.21.2-1ubuntu0.22.04.1+esm1 | [kitty 0.21.2-1ubuntu0.22.04.1+esm1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-kitty-0.21.2-1ubuntu0.22.04.1-esm1.md) | May 19, 2026 |
| Linux | kitty Ubuntu 24.04.5 LTS (noble) | 0.32.2-1ubuntu0.4+esm1 | [kitty 0.32.2-1ubuntu0.4+esm1](https://patchblox.com/security/data/fix/linux/ubuntu-noble-kitty-0.32.2-1ubuntu0.4-esm1.md) | May 19, 2026 |
| Linux | kitty Ubuntu 25.10 (questing) | 0.41.1-2+deb13u1build0.25.10.1 | [kitty 0.41.1-2+deb13u1build0.25.10.1](https://patchblox.com/security/data/fix/linux/ubuntu-questing-kitty-0.41.1-2-deb13u1build0.25.10.1.md) | May 19, 2026 |
| Linux | kitty Ubuntu 26.04.1 LTS (resolute) | 0.45.0-1ubuntu0.1~esm1 | [kitty 0.45.0-1ubuntu0.1~esm1](https://patchblox.com/security/data/fix/linux/ubuntu-resolute-kitty-0.45.0-1ubuntu0.1-esm1.md) | May 19, 2026 |
| Linux | kitty opensuse-leap 16.0 | 0.48.2-bp160.1.1 | [OPENSUSE-SU-2026:21599-1](https://patchblox.com/security/data/fix/linux/opensuse-su-2026-21599-1.md) | Aug 18, 2026 |
| Linux | kitty-shell-integration Ubuntu 24.04.5 LTS (noble) | 0.32.2-1ubuntu0.4+esm1 | [kitty-shell-integration 0.32.2-1ubuntu0.4+esm1](https://patchblox.com/security/data/fix/linux/ubuntu-noble-kitty-shell-integration-0.32.2-1ubuntu0.4-esm1.md) | May 19, 2026 |
| Linux | kitty-shell-integration Ubuntu 25.10 (questing) | 0.41.1-2+deb13u1build0.25.10.1 | [kitty-shell-integration 0.41.1-2+deb13u1build0.25.10.1](https://patchblox.com/security/data/fix/linux/ubuntu-questing-kitty-shell-integration-0.41.1-2-deb13u1build0.25.10.1.md) | May 19, 2026 |
| Linux | kitty-shell-integration Ubuntu 26.04.1 LTS (resolute) | 0.45.0-1ubuntu0.1~esm1 | [kitty-shell-integration 0.45.0-1ubuntu0.1~esm1](https://patchblox.com/security/data/fix/linux/ubuntu-resolute-kitty-shell-integration-0.45.0-1ubuntu0.1-esm1.md) | May 19, 2026 |
| Linux | kitty-terminfo Ubuntu 20.04 LTS (focal) | 0.15.0-1ubuntu0.2+esm1 | [kitty-terminfo 0.15.0-1ubuntu0.2+esm1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-kitty-terminfo-0.15.0-1ubuntu0.2-esm1.md) | May 19, 2026 |
| Linux | kitty-terminfo Ubuntu 24.04.5 LTS (noble) | 0.32.2-1ubuntu0.4+esm1 | [kitty-terminfo 0.32.2-1ubuntu0.4+esm1](https://patchblox.com/security/data/fix/linux/ubuntu-noble-kitty-terminfo-0.32.2-1ubuntu0.4-esm1.md) | May 19, 2026 |
| Linux | kitty-terminfo Ubuntu 25.10 (questing) | 0.41.1-2+deb13u1build0.25.10.1 | [kitty-terminfo 0.41.1-2+deb13u1build0.25.10.1](https://patchblox.com/security/data/fix/linux/ubuntu-questing-kitty-terminfo-0.41.1-2-deb13u1build0.25.10.1.md) | May 19, 2026 |
| Linux | kitty-terminfo Ubuntu 26.04.1 LTS (resolute) | 0.45.0-1ubuntu0.1~esm1 | [kitty-terminfo 0.45.0-1ubuntu0.1~esm1](https://patchblox.com/security/data/fix/linux/ubuntu-resolute-kitty-terminfo-0.45.0-1ubuntu0.1-esm1.md) | May 19, 2026 |

---

Data as of 2026-11-08T06:59:42Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
