Integer overflow in kitty - CVE-2026-33642
Published: September 22, 2026
Vulnerability details
The vulnerability allows a remote attacker to cause a denial of service, disclose sensitive information, or corrupt heap memory.
The vulnerability exists due to integer overflow in the handle_compose_command() bounds check in kitty/graphics.c when processing crafted graphics escape sequences. A remote attacker can send crafted graphics escape sequences to a kitty terminal to cause a denial of service, disclose sensitive information, or corrupt heap memory.
No user interaction or non-default configuration is required.
Affected software
Debian Linux
Ubuntu
kitty (Ubuntu package)
kitty-shell-integration (Ubuntu package)
kitty (Debian package)
How to mitigate CVE-2026-33642
kitty (Ubuntu package) - addressed in versions 0.15.0-1ubuntu0.2+esm1, 0.21.2-1ubuntu0.22.04.1+esm1, 0.32.2-1ubuntu0.4+esm1, 0.41.1-2+deb13u1build0.25.10.1, 0.45.0-1ubuntu0.1~esm1
kitty-shell-integration (Ubuntu package) - addressed in versions 0.32.2-1ubuntu0.4+esm1, 0.41.1-2+deb13u1build0.25.10.1, 0.45.0-1ubuntu0.1~esm1
kitty (Debian package) - update to 0.41.1-2+deb13u1