Heap-based Buffer Overflow Affecting kitty package, versions <0.41.1-2+deb13u1


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.37% (29th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ECHOLATEST-KITTY-18600137
  • published9 Aug 2026
  • disclosed19 May 2026

Introduced: 19 May 2026

CVE-2026-33633  (opens in a new tab)
CWE-122  (opens in a new tab)

How to fix?

Upgrade Echo:latest kitty to version 0.41.1-2+deb13u1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream kitty package and not the kitty package as distributed by Echo. See How to fix? for Echo:latest relevant fixed versions and status.

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 Base Scores

version 3.1