CVE-2026-33633
Awaiting Analysis Awaiting Analysis - Queue
Heap Buffer Overflow in Kitty Terminal

Publication date: 2026-05-19

Last updated on: 2026-05-19

Assigner: GitHub, Inc.

Description
Kitty is a cross-platform GPU based terminal. Versions 0.46.2 and below contain a heap buffer overflow in load_image_data() that allows any process which can write to the terminal's stdin to crash kitty immediately. The vulnerability is triggered by a single APC graphics protocol command with a PNG format declaration (f=100) whose payload exceeds twice the initial buffer capacity. The overflow is attacker-controlled in both length and content, causing DoS and potentially escalation to RCE itself. This issue has been fixed in version 0.47.0.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-05-19
Last Modified
2026-05-19
Generated
2026-05-20
AI Q&A
2026-05-19
EPSS Evaluated
N/A
NVD
EUVD
Affected Vendors & Products
Showing 3 associated CPEs
Vendor Product Version / Range
kitty kitty to 0.47.0 (exc)
kitty kitty 0.47.0
kovidgoyal kitty to 0.47.0 (exc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-122 A heap overflow condition is a buffer overflow, where the buffer that can be overwritten is allocated in the heap portion of memory, generally meaning that the buffer was allocated using a routine such as malloc().
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

This vulnerability is a heap buffer overflow found in the Kitty terminal application, specifically in the load_image_data() function. It occurs when a specially crafted APC graphics protocol command with a PNG format declaration (f=100) is sent to the terminal's stdin. If the payload of this command exceeds twice the initial buffer capacity, it causes an overflow that is controlled by the attacker in both length and content.

This overflow can cause the Kitty terminal to crash immediately (denial of service) and potentially allow an attacker to escalate the issue to remote code execution (RCE). The vulnerability affects versions 0.46.2 and below and has been fixed in version 0.47.0.


How can this vulnerability impact me? :

The primary impact of this vulnerability is that an attacker who can write to the terminal's stdin can cause the Kitty terminal to crash, resulting in a denial of service (DoS).

More severely, because the overflow is attacker-controlled in both length and content, it may allow an attacker to escalate the attack to remote code execution (RCE), potentially gaining control over the affected system.


What immediate steps should I take to mitigate this vulnerability?

The vulnerability in Kitty terminal versions 0.46.2 and below can be mitigated by upgrading to version 0.47.0 or later, where the heap buffer overflow issue has been fixed.


How does this vulnerability affect compliance with common standards and regulations (like GDPR, HIPAA)?:

The provided information does not specify any direct impact of this vulnerability on compliance with common standards and regulations such as GDPR or HIPAA.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart