Heap Buffer Vulnerability in Kitty Terminal by Kovid Goyal
CVE-2026-33642

9.9CRITICAL

Key Information:

Vendor

Kovidgoyal

Status
Vendor
CVE Published:
19 May 2026

What is CVE-2026-33642?

In versions prior to 0.47.0, Kitty Terminal contains a vulnerability that affects the handle_compose_command() function due to improper bounds validation. Specifically, it utilizes unsigned 32-bit arithmetic which is vulnerable to integer wrapping. This vulnerability enables an attacker to craft malicious escape sequences that manipulate composition offsets, leading to significant out-of-bounds memory access in compose_rectangles(). This security flaw can be exploited without any user interaction and does not require any special configuration, making it particularly dangerous for users of affected versions.

Affected Version(s)

kitty < 0.47.0

References

CVSS V3.1

Score:
9.9
Severity:
CRITICAL
Confidentiality:
Low
Integrity:
Low
Availability:
Low
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Changed

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.